From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoxV3-0005Oi-LQ for qemu-devel@nongnu.org; Sat, 19 Sep 2009 06:49:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoxUy-0005OW-FC for qemu-devel@nongnu.org; Sat, 19 Sep 2009 06:49:04 -0400 Received: from [199.232.76.173] (port=39463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoxUy-0005OT-7x for qemu-devel@nongnu.org; Sat, 19 Sep 2009 06:49:00 -0400 Received: from mail.gmx.net ([213.165.64.20]:51616) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MoxUx-0006Fh-Jh for qemu-devel@nongnu.org; Sat, 19 Sep 2009 06:49:00 -0400 Date: Sat, 19 Sep 2009 12:48:53 +0200 From: Reimar =?iso-8859-1?Q?D=F6ffinger?= Subject: Re: [Qemu-devel] [PATCH] eepro100: Fix format strings in debug messages Message-ID: <20090919104853.GA6764@1und1.de> References: <1253356671-10088-1-git-send-email-weil@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1253356671-10088-1-git-send-email-weil@mail.berlios.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-devel@nongnu.org On Sat, Sep 19, 2009 at 12:37:51PM +0200, Stefan Weil wrote: > size_t arguments need %zu instead of %d. > > This patch is a step to synchronize my maintainer version > of eepro100.c (git://repo.or.cz/qemu/ar7.git) with the > version integrated in QEMU. MinGW probably won't know about "zu". Casting size to uint64_t and using PRIu64 would be an option, as well as just ignoring MinGW.