Skip to contentSkip to conversation

[4539] removed warning

Qemu-devel Fabrice Bellard 1 participant 1 message May 23, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4539

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4539
Author:   bellard
Date:     2008-05-23 11:56:45 +0000 (Fri, 23 May 2008)

Log Message:
-----------
removed warning

Modified Paths:
--------------
trunk/exec.c

Modified: trunk/exec.c
===================================================================

exec.c +2 -2
@@ -2143,8 +2143,8 @@
 {
     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 = %" PRIu64 ", max memory = %" PRIu64 "\n",
+                (uint64_t)size, (uint64_t)phys_ram_size);
         abort();
     }
     addr = phys_ram_alloc_offset;