From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KzZEj-0008SL-6D for qemu-devel@nongnu.org; Mon, 10 Nov 2008 11:03:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzZEg-0008RV-Ri for qemu-devel@nongnu.org; Mon, 10 Nov 2008 11:03:31 -0500 Received: from [199.232.76.173] (port=43629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzZEg-0008RS-M4 for qemu-devel@nongnu.org; Mon, 10 Nov 2008 11:03:30 -0500 Received: from mail-gx0-f15.google.com ([209.85.217.15]:36315) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KzZEg-0000d3-EB for qemu-devel@nongnu.org; Mon, 10 Nov 2008 11:03:30 -0500 Received: by gxk8 with SMTP id 8so1948760gxk.10 for ; Mon, 10 Nov 2008 08:03:28 -0800 (PST) Message-ID: Date: Mon, 10 Nov 2008 18:03:27 +0200 From: "Blue Swirl" In-Reply-To: <200811101055.17281.Christoph.Egger@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200811101055.17281.Christoph.Egger@amd.com> Subject: [Qemu-devel] Re: [PATCH] fix warnings on NetBSD Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Egger Cc: qemu-devel@nongnu.org On 11/10/08, Christoph Egger wrote: > > Hi! > > Attached patch fixes a series of this warning > when compiling on NetBSD: > > warning: array subscript has type 'char' There has been some discussion on ctype.h macro problems, please see: http://lists.gnu.org/archive/html/qemu-devel/2008-08/msg01239.html I'd vote for introducing qemu_isfoobar and qemu_towombat instead of casts.