Commit ed44146780c5ce9c58137549073798e08d053a92

Authored by bellard
1 parent b67d9a52

removed warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4539 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
... ... @@ -2143,8 +2143,8 @@ ram_addr_t qemu_ram_alloc(ram_addr_t size)
2143 2143 {
2144 2144 ram_addr_t addr;
2145 2145 if ((phys_ram_alloc_offset + size) > phys_ram_size) {
2146   - fprintf(stderr, "Not enough memory (requested_size = %lu, max memory = %ld)\n",
2147   - size, phys_ram_size);
  2146 + fprintf(stderr, "Not enough memory (requested_size = %" PRIu64 ", max memory = %" PRIu64 "\n",
  2147 + (uint64_t)size, (uint64_t)phys_ram_size);
2148 2148 abort();
2149 2149 }
2150 2150 addr = phys_ram_alloc_offset;
... ...