Use ssize_t for grub_util_fd_read result

Fixes commit 0415dbe28f.
This commit is contained in:
Andrei Borzenkov 2014-11-28 21:43:07 +03:00
parent ea44693fc8
commit 740c08ed2f

View file

@ -902,7 +902,7 @@ grub_install_get_target (const char *src)
char *fn; char *fn;
grub_util_fd_t f; grub_util_fd_t f;
char buf[2048]; char buf[2048];
size_t r; ssize_t r;
char *c, *pl, *p; char *c, *pl, *p;
size_t i; size_t i;
fn = grub_util_path_concat (2, src, "modinfo.sh"); fn = grub_util_path_concat (2, src, "modinfo.sh");