From: Joel Brobecker Date: Wed, 13 May 2009 09:41:57 +0000 (+0000) Subject: * c-lang.c (print_wchar): Remove unnecessary cast. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f7f5fe45a81885b55c57faed8d110429b85a600;p=binutils-gdb.git * c-lang.c (print_wchar): Remove unnecessary cast. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cec02a6091c..42d08cd0201 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-13 Joel Brobecker + + * c-lang.c (print_wchar): Remove unnecessary cast. + 2009-05-12 Jim Blandy * MAINTAINERS: Remove self as m32c target maintainer. diff --git a/gdb/c-lang.c b/gdb/c-lang.c index f95c98f3369..b605d3e8ea3 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -166,7 +166,7 @@ print_wchar (gdb_wint_t w, const gdb_byte *orig, int orig_len, && 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 ("\\"));