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
1 changed files with 1 additions and 1 deletions

View File

@ -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");