From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuEuo-000634-0b for qemu-devel@nongnu.org; Wed, 04 Jan 2006 15:07:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuEum-00062N-OZ for qemu-devel@nongnu.org; Wed, 04 Jan 2006 15:07:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuEum-00062F-2X for qemu-devel@nongnu.org; Wed, 04 Jan 2006 15:07:20 -0500 Received: from [212.20.112.165] (helo=pavel.int.rudna.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuEwD-0003WU-PT for qemu-devel@nongnu.org; Wed, 04 Jan 2006 15:08:50 -0500 From: Pavel@Janik.cz (Pavel =?iso-8859-2?Q?Jan=EDk?=) Date: Wed, 04 Jan 2006 21:04:55 +0100 Message-ID: <87irszyd20.fsf@Janik.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] dyngen.c: fix signedness gcc4 warning 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, fetch_next_pair_value is declared as: static inline void fetch_next_pair_value(struct relocation_info * rel, un= signed int *value) so the second arg should be unsigned. Please apply. --- dyngen.c 31 May 2005 22:45:24 +0200 1.40 +++ dyngen.c 04 Jan 2006 20:40:33 +0100=09 @@ -970,7 +970,7 @@ struct scattered_relocation_info * sca_rel =3D (struct scattered_reloca= tion_info*)rel; int sectnum =3D rel->r_symbolnum; int sectoffset; - int other_half=3D0; + unsigned int other_half=3D0; =09 /* init the slide value */ *sslide =3D 0; --=20 Pavel Jan=EDk I'm serious as mud. :-) -- Lars Magne Ingebrigtsen in gnus.ding