* [Qemu-devel] [PATCH] silence warning in exec.c
@ 2008-05-18 9:23 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-05-18 9:23 UTC (permalink / raw)
To: qemu-devel
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Index: qemu/exec.c
===================================================================
--- qemu/exec.c (Revision 4488)
+++ qemu/exec.c (Arbeitskopie)
@@ -2142,8 +2142,8 @@ ram_addr_t qemu_ram_alloc(ram_addr_t siz
{
ram_addr_t addr;
if ((phys_ram_alloc_offset + size) > phys_ram_size) {
- fprintf(stderr, "Not enough memory (requested_size = %lu, max memory = %ld)\n",
- size, phys_ram_size);
+ fprintf(stderr, "Not enough memory (requested_size = %llu, max memory = %llu)\n",
+ (unsigned long long) size, (unsigned long long) phys_ram_size);
abort();
}
addr = phys_ram_alloc_offset;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-18 9:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-18 9:23 [Qemu-devel] [PATCH] silence warning in exec.c Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).