From 740c08ed2ff33625bdc2e0ad9ef6264978bf32cf Mon Sep 17 00:00:00 2001 From: Andrei Borzenkov Date: Fri, 28 Nov 2014 21:43:07 +0300 Subject: [PATCH] Use ssize_t for grub_util_fd_read result Fixes commit 0415dbe28f3dc3520b70745b3bd78073f094fb4d. --- util/grub-install-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");