mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 07:39:22 +00:00
Use %I64 and not %ll when using OS printf if compiling for windows.
This commit is contained in:
1 parent
d218ec9738
commit
18e76955be
11 files changed
+77
-36
No files matched your search
+3
-2
@@ -86,7 +86,7 @@ read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len, void
|
||||
if ((! dev) || (! dev->disk))
|
||||
grub_util_error ("%s", grub_errmsg);
|
||||
|
||||
grub_util_info ("total sectors : %lld",
|
||||
grub_util_info ("total sectors : %" GRUB_HOST_PRIuLONG_LONG,
|
||||
(unsigned long long) dev->disk->total_sectors);
|
||||
|
||||
if (! leng)
|
||||
@@ -123,7 +123,8 @@ read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len, void
|
||||
return;
|
||||
}
|
||||
|
||||
grub_util_info ("file size : %lld", (unsigned long long) file->size);
|
||||
grub_util_info ("file size : %" GRUB_HOST_PRIuLONG_LONG,
|
||||
(unsigned long long) file->size);
|
||||
|
||||
if (skip > file->size)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user