From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKafe-0003Sb-8w for qemu-devel@nongnu.org; Sun, 20 Jul 2008 11:17:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKafc-0003SP-AP for qemu-devel@nongnu.org; Sun, 20 Jul 2008 11:17:57 -0400 Received: from [199.232.76.173] (port=60026 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKafc-0003SL-2l for qemu-devel@nongnu.org; Sun, 20 Jul 2008 11:17:56 -0400 Received: from moutng.kundenserver.de ([212.227.126.174]:64800) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKafb-0002eS-Nb for qemu-devel@nongnu.org; Sun, 20 Jul 2008 11:17:56 -0400 Message-ID: <4883571F.1070802@mail.berlios.de> Date: Sun, 20 Jul 2008 17:17:51 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Fix compiler warning Content-Type: multipart/mixed; boundary="------------020208020805030602080709" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------020208020805030602080709 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hello, this patch fixes a compiler warning (signed/unsigned char mismatch). There is no reason to use unsigned char * instead of char *. Please apply it to Qemu SVN trunk. Regards Stefan --------------020208020805030602080709 Content-Type: text/x-diff; name="mips_translate_init.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mips_translate_init.patch" Index: target-mips/translate_init.c =================================================================== --- target-mips/translate_init.c (Revision 4908) +++ target-mips/translate_init.c (Arbeitskopie) @@ -63,7 +63,7 @@ }; struct mips_def_t { - const unsigned char *name; + const char *name; int32_t CP0_PRid; int32_t CP0_Config0; int32_t CP0_Config1; @@ -417,7 +417,7 @@ #endif }; -static const mips_def_t *cpu_mips_find_by_name (const unsigned char *name) +static const mips_def_t *cpu_mips_find_by_name (const char *name) { int i; --------------020208020805030602080709--