2008-07-01 Pavel Roskin <proski@gnu.org>

* disk/raid.c: Cast grub_dprintf() arguments to unsigned long
	long if the format specifier expects it.
	* partmap/gpt.c (gpt_partition_map_iterate): Likewise.
	* partmap/pc.c (pc_partition_map_iterate): Likewise.
	* fs/ntfs.c (grub_ntfs_uuid): Cast data->uuid to unsigned long
	long to fix a warning.
	* fs/reiserfs.c (grub_reiserfs_read): Change casts in
	grub_dprintf() arguments to fix warnings.
This commit is contained in:
proski 2008-07-01 23:02:16 +00:00
parent 56c7668bae
commit 0e9e51ec4f
6 changed files with 28 additions and 10 deletions

View file

@ -1094,7 +1094,7 @@ grub_ntfs_uuid (grub_device_t device, char **uuid)
if (data)
{
*uuid = grub_malloc (16 + sizeof ('\0'));
grub_sprintf (*uuid, "%016llx", data->uuid);
grub_sprintf (*uuid, "%016llx", (unsigned long long) data->uuid);
}
else
*uuid = NULL;