Received: from [140.186.70.92] (port=40138 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P22nG-00086h-Mz for qemu-devel@nongnu.org; Sat, 02 Oct 2010 10:10:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P22nE-0001mL-WD for qemu-devel@nongnu.org; Sat, 02 Oct 2010 10:10:30 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:56903 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P22nE-0001m8-NN for qemu-devel@nongnu.org; Sat, 02 Oct 2010 10:10:28 -0400 Date: Sat, 2 Oct 2010 18:10:22 +0400 (MSD) From: malc In-Reply-To: <1286014810-5514-1-git-send-email-weil@mail.berlios.de> Message-ID: References: <1286014810-5514-1-git-send-email-weil@mail.berlios.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [Qemu-devel] Re: [PATCH v3] es1370: Fix compiler warnings for debug code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Blue Swirl , QEMU Developers , Markus Armbruster On Sat, 2 Oct 2010, Stefan Weil wrote: > The patch fixes these gcc warnings: > > ./hw/es1370.c: In function ?es1370_update_voices?: > ./hw/es1370.c:411: error: format ?%d? expects type ?int?, but argument 3 has type ?size_t? > ./hw/es1370.c: In function ?es1370_writel?: > ./hw/es1370.c:579: error: format ?%d? expects type ?int?, but argument 3 has type ?long int? > ./hw/es1370.c:589: error: format ?%d? expects type ?int?, but argument 3 has type ?long int? > ./hw/es1370.c:606: error: format ?%d? expects type ?int?, but argument 3 has type ?long int? > ./hw/es1370.c: In function ?es1370_readl?: > ./hw/es1370.c:748: error: suggest braces around empty body in an ?if? statement > [..snip..] Thanks, applied. -- mailto:av1474@comtv.ru