summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorbellard2008-05-23 13:56:45 +0200
committerbellard2008-05-23 13:56:45 +0200
commited44146780c5ce9c58137549073798e08d053a92 (patch)
treec2b465405c3b806e40fa9b0e29dc238ba9f54cc0 /exec.c
parentTCG profiler clean up (diff)
downloadqemu-ed44146780c5ce9c58137549073798e08d053a92.tar.gz
qemu-ed44146780c5ce9c58137549073798e08d053a92.tar.xz
qemu-ed44146780c5ce9c58137549073798e08d053a92.zip
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 7f62e7173a..53bad8cb3f 100644
--- a/exec.c
+++ b/exec.c
@@ -2143,8 +2143,8 @@ ram_addr_t qemu_ram_alloc(ram_addr_t size)
{
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;