Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeuJe-0007OI-6R for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:19:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeuJd-0007Nx-F4 for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:19:13 -0400 Received: from [199.232.76.173] (port=40989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeuJd-0007Ns-BZ for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:19:13 -0400 Received: from hall.aurel32.net ([91.121.138.14]:37608) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeuJc-0001I4-QH for qemu-devel@nongnu.org; Sun, 14 Sep 2008 12:19:13 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KeuJb-0006g2-9c for qemu-devel@nongnu.org; Sun, 14 Sep 2008 18:19:11 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1KeuJa-0006Oa-C3 for qemu-devel@nongnu.org; Sun, 14 Sep 2008 18:19:10 +0200 Date: Sun, 14 Sep 2008 18:19:10 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Fix warning Message-ID: <20080914161910.GC22422@volta.aurel32.net> References: <48C27ED2.8020009@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48C27ED2.8020009@reactos.org> 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 On Sat, Sep 06, 2008 at 03:00:02PM +0200, Hervé Poussineau wrote: > Hi, > > Attached patch fixes a warning in cpu_mips_find_by_name(). > 'name' is a string, so it should be declared as char*, not unsigned char*. Applied, thanks > Hervé > Index: target-mips/translate_init.c > =================================================================== > --- target-mips/translate_init.c (revision 5171) > +++ target-mips/translate_init.c (working copy) > @@ -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; > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net