Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzVtK-0006XB-1S for qemu-devel@nongnu.org; Fri, 23 May 2008 07:56:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzVtH-0006WL-Ts for qemu-devel@nongnu.org; Fri, 23 May 2008 07:56:57 -0400 Received: from [199.232.76.173] (port=52349 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzVtH-0006W8-KA for qemu-devel@nongnu.org; Fri, 23 May 2008 07:56:55 -0400 Received: from savannah.gnu.org ([199.232.41.3]:59575 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JzVtH-0007Yo-9F for qemu-devel@nongnu.org; Fri, 23 May 2008 07:56:55 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1JzVt8-0000xo-CP for qemu-devel@nongnu.org; Fri, 23 May 2008 11:56:46 +0000 Received: from bellard by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1JzVt8-0000xk-4B for qemu-devel@nongnu.org; Fri, 23 May 2008 11:56:46 +0000 MIME-Version: 1.0 Errors-To: bellard Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Fabrice Bellard Message-Id: Date: Fri, 23 May 2008 11:56:46 +0000 Subject: [Qemu-devel] [4539] removed warning Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 =================================================================== --- trunk/exec.c 2008-05-23 09:57:34 UTC (rev 4538) +++ trunk/exec.c 2008-05-23 11:56:45 UTC (rev 4539) @@ -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;