From 3f7f5fe45a81885b55c57faed8d110429b85a600 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 13 May 2009 09:41:57 +0000 Subject: * c-lang.c (print_wchar): Remove unnecessary cast. --- gdb/ChangeLog | 4 ++++ gdb/c-lang.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + + * 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 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 ("\\")); -- cgit v1.1