From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KI0kX-0005Nt-Tn for qemu-devel@nongnu.org; Sun, 13 Jul 2008 08:32:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KI0kV-0005KT-V4 for qemu-devel@nongnu.org; Sun, 13 Jul 2008 08:32:21 -0400 Received: from [199.232.76.173] (port=43523 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KI0kV-0005KC-Qj for qemu-devel@nongnu.org; Sun, 13 Jul 2008 08:32:19 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:45966) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KI0kW-00029D-4J for qemu-devel@nongnu.org; Sun, 13 Jul 2008 08:32:20 -0400 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 9F415E7CA5E2 for ; Sun, 13 Jul 2008 14:32:17 +0200 (CEST) Received: from [88.64.30.223] (helo=[192.168.1.198]) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1KI0kT-0000ev-00 for qemu-devel@nongnu.org; Sun, 13 Jul 2008 14:32:17 +0200 Message-ID: <4879F5CD.5020009@web.de> Date: Sun, 13 Jul 2008 14:32:13 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <485F42BD.80400@web.de> In-Reply-To: <485F42BD.80400@web.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0E694DCB532E15AB4ACB69B3" Sender: jan.kiszka@web.de Subject: [Qemu-devel] [REMINDER] Re: target-sh4/op.c:597: warning: cast to pointer from integer of different size 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 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0E694DCB532E15AB4ACB69B3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Jan Kiszka wrote: > The warning above pointed me to some strange code. I guess this was > originally indented: >=20 > Signed-off-by: Jan Kiszka >=20 > Index: qemu/target-sh4/op.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- qemu.orig/target-sh4/op.c > +++ qemu/target-sh4/op.c > @@ -594,8 +594,8 @@ void OPPROTO op_shlr16_Rn(void) >=20 > void OPPROTO op_tasb_rN(void) > { > - cond_t(*(int8_t *) env->gregs[PARAM1] =3D=3D 0); > - *(int8_t *) env->gregs[PARAM1] |=3D 0x80; > + cond_t((env->gregs[PARAM1] & 0xff) =3D=3D 0); > + *(int8_t *) &env->gregs[PARAM1] |=3D 0x80; > RETURN(); > } >=20 Problem still exists, patch still applies - does anyone take care of this arch? Jan --------------enig0E694DCB532E15AB4ACB69B3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkh59dAACgkQniDOoMHTA+nE6QCeMiaLMFh2dktf7sit417oGKDr uOMAn0uvjeevWB2THSLRxxlXIQYsRfWi =QMy6 -----END PGP SIGNATURE----- --------------enig0E694DCB532E15AB4ACB69B3--