From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] qemu: fix formatting mismatch in qemu_ram_alloc Date: Thu, 22 Nov 2007 16:19:44 +0200 Message-ID: <47459000.3010002@qumranet.com> References: <20071122070731.GA9391@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Carlo Marcelo Arenas Belon Return-path: In-Reply-To: <20071122070731.GA9391@tapir> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Carlo Marcelo Arenas Belon wrote: > The following patch complement 50096dbe4c8523d9855b0e2ee6f058a75e7942a3 to > avoid a compilation warning because of a formatting mismatch after making > "size" long to allow for allocations bigger than 4GB and as can be seen by : > > kvm-53/qemu/exec.c: In function `qemu_ram_alloc': > kvm-53/qemu/exec.c:2098: warning: unsigned int format, long unsigned int > arg (arg 3) > > Applied, thanks. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/