From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J0ENq-0006jv-UF for qemu-devel@nongnu.org; Thu, 06 Dec 2007 05:55:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J0ENo-0006j0-V6 for qemu-devel@nongnu.org; Thu, 06 Dec 2007 05:55:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0ENo-0006iv-I4 for qemu-devel@nongnu.org; Thu, 06 Dec 2007 05:55:08 -0500 Received: from outbound-blu.frontbridge.com ([65.55.251.16] helo=outbound1-blu-R.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J0ENn-0003AS-QN for qemu-devel@nongnu.org; Thu, 06 Dec 2007 05:55:07 -0500 Received: from outbound1-blu.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound1-blu-R.bigfish.com (Postfix) with ESMTP id AFCC8438630 for ; Thu, 6 Dec 2007 10:55:06 +0000 (UTC) Received: from mail40-blu-R.bigfish.com (unknown [10.1.252.3]) by outbound1-blu.bigfish.com (Postfix) with ESMTP id A3362718043 for ; Thu, 6 Dec 2007 10:55:06 +0000 (UTC) Received: from mail40-blu (localhost.localdomain [127.0.0.1]) by mail40-blu-R.bigfish.com (Postfix) with ESMTP id B537C2504D1 for ; Thu, 6 Dec 2007 10:55:05 +0000 (UTC) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail40-blu.bigfish.com (Postfix) with ESMTP id 4039918180A0 for ; Thu, 6 Dec 2007 10:55:05 +0000 (UTC) Received: from SAUSGW02.amd.com (sausgw02.amd.com [163.181.250.22]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id lB6Apa0l012379 for ; Thu, 6 Dec 2007 04:51:51 -0600 Message-ID: <4757D40B.1000701@amd.com> Date: Thu, 06 Dec 2007 11:50:51 +0100 From: "Andre Przywara" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/5] fix various gcc4 compile warnings 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 Hi, after my first try last week now a reworked version of the patches to fix (gcc4) compiler warnings. These warnings occur when compiling for instance the "embedded" QEmu in Xen. I splitted the big patch to address several issues separately: 1/5: fix wrong types (wrong signedness) 2/5: fix char* signedness 3/5: qemu_put signedness fixes 4/5: fix bdrv_get_geometry to return uint64_t 5/5: miscellaneous minor things Compared to my last work post I tried to avoid casting as much as possible, only patch 2/5 still uses them. Comments welcome. Regards, Andre. -- Andre Przywara AMD-OSRC (Dresden) Tel: x84917