diff --git a/util/grub-install-common.c b/util/grub-install-common.c index 4b5d4d486..b6dec93ea 100644 --- a/util/grub-install-common.c +++ b/util/grub-install-common.c @@ -902,7 +902,7 @@ grub_install_get_target (const char *src) char *fn; grub_util_fd_t f; char buf[2048]; - size_t r; + ssize_t r; char *c, *pl, *p; size_t i; fn = grub_util_path_concat (2, src, "modinfo.sh");