projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67d9a5
)
removed warning
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 23 May 2008 11:56:45 +0000
(11:56 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 23 May 2008 11:56:45 +0000
(11:56 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4539
c046a42c
-6fe2-441c-8c8c-
71466251a162
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index
7f62e71
..
53bad8c
100644
(file)
--- 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;