Fix 64-bit build with a PRIu64.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-12-15 01:42:31 +00:00
1 parent 1c253aa41e
commit f455c4c7bd
1 file changed
+1 -1
+1 -1
View File
@@ -1329,7 +1329,7 @@ int qcow_create(const char *filename, uint64_t total_size,
/*Filesize is length + l1_size * (1 << s->l2_bits) + (size*512)*/
total_length = length + (l1_size * (1 << 9)) + (size * 512);
qtruncate(fd, total_length, 0);
printf("File truncated to length %llu\n",total_length);
printf("File truncated to length %"PRIu64"\n",total_length);
}
exthdr.flags = cpu_to_be32(flags);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.