From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32458 invoked by alias); 13 May 2009 09:43:52 -0000 Received: (qmail 32447 invoked by uid 22791); 13 May 2009 09:43:51 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 May 2009 09:43:47 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id AEA2A2BAB8D for ; Wed, 13 May 2009 05:43:45 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yiocenjuQw5o for ; Wed, 13 May 2009 05:43:45 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8090F2BAB1B for ; Wed, 13 May 2009 05:43:45 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id DD946F5A07; Wed, 13 May 2009 11:43:43 +0200 (CEST) Date: Wed, 13 May 2009 09:43:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: Re: [RFA] Fix typo in type of parameter "w" in print_wchar... Message-ID: <20090513094343.GA9731@adacore.com> References: <20090425003658.GA32745@adacore.com> <200904250849.n3P8n5BU002469@brahms.sibelius.xs4all.nl> <20090507183753.GE659@adacore.com> <20090512080620.GC7584@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20090512080620.GC7584@adacore.com> User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00266.txt.bz2 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 419 > > 2009-05-07 Joel Brobecker > > > > * c-lang.c (print_wchar): Convert w into a gdb_wchar_t before > > pushing it on the output obstack. I forgot to remove the unnecessary cast when I checked the patch in :-(. Fixed thusly. 2009-05-13 Joel Brobecker * c-lang.c (print_wchar): Remove unnecessary cast. Really sorry about that... -- Joel --d6Gm4EdcadzBjdND Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="c-lang.c.diff" Content-length: 563 Index: c-lang.c =================================================================== RCS file: /cvs/src/src/gdb/c-lang.c,v retrieving revision 1.67 diff -u -p -r1.67 c-lang.c --- c-lang.c 12 May 2009 08:05:52 -0000 1.67 +++ c-lang.c 13 May 2009 09:40:44 -0000 @@ -166,7 +166,7 @@ print_wchar (gdb_wint_t w, const gdb_byt && w != LCST ('8') && w != LCST ('9')))) { - gdb_wchar_t wchar = (gdb_wchar_t) w; + gdb_wchar_t wchar = w; if (w == gdb_btowc (quoter) || w == LCST ('\\')) obstack_grow_wstr (output, LCST ("\\")); --d6Gm4EdcadzBjdND--