diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/c-lang.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cec02a6..42d08cd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-05-13 Joel Brobecker <brobecker@adacore.com> + + * c-lang.c (print_wchar): Remove unnecessary cast. + 2009-05-12 Jim Blandy <jimb@red-bean.com> * MAINTAINERS: Remove self as m32c target maintainer. diff --git a/gdb/c-lang.c b/gdb/c-lang.c index f95c98f..b605d3e 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 ("\\")); |