Use %I64 and not %ll when using OS printf if compiling for windows.

This commit is contained in:
Vladimir Serbinenko 2013-12-17 16:04:47 +01:00
parent d218ec9738
commit 18e76955be
11 changed files with 77 additions and 36 deletions

View file

@ -84,8 +84,10 @@ grub_install_get_blocklist (grub_device_t root_dev,
grub_util_error ("unsupported fs for blocklist under windows: %s",
fs->name);
grub_util_info ("sec_per_lcn = %lld, first_lcn=%lld",
(long long) sec_per_lcn, (long long) first_lcn);
grub_util_info ("sec_per_lcn = %" GRUB_HOST_PRIuLONG_LONG
", first_lcn=%" GRUB_HOST_PRIuLONG_LONG,
(unsigned long long) sec_per_lcn,
(unsigned long long) first_lcn);
first_lcn += grub_partition_get_start (root_dev->disk->partition);