From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPDe7-0005L2-9z for qemu-devel@nongnu.org; Fri, 10 Jul 2009 06:48:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPDe2-0005IS-MQ for qemu-devel@nongnu.org; Fri, 10 Jul 2009 06:48:03 -0400 Received: from [199.232.76.173] (port=47381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPDe2-0005IB-Gz for qemu-devel@nongnu.org; Fri, 10 Jul 2009 06:47:58 -0400 Received: from verein.lst.de ([213.95.11.210]:58552) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MPDe1-0005tn-Q6 for qemu-devel@nongnu.org; Fri, 10 Jul 2009 06:47:58 -0400 Date: Fri, 10 Jul 2009 12:47:46 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH 1/2] qemu-io: small cleanups for the aio code Message-ID: <20090710104746.GA9065@lst.de> References: <20090701112018.GA10455@lst.de> <4A564CF3.2040005@codemonkey.ws> <20090710013749.GA18702@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Christoph Hellwig , qemu-devel@nongnu.org On Fri, Jul 10, 2009 at 02:20:07PM +0400, malc wrote: > > Work fine on 32 bit x86 :) But yeah, the correct format that works on > > all platforms would be %zd. > > Just a small correction - it wouldn't work on Windows. Why would it generally not work on windows? %zd is in C99 and thus it should be supported by any recent Windows compiler and library.