From: Tom Tromey Date: Wed, 25 Jul 2012 15:32:09 +0000 (+0000) Subject: * macrotab.c (macro_bcache_str): Remove cast. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d560eebdef95c9d0f58682fac4f20a376cad013f;p=binutils-gdb.git * macrotab.c (macro_bcache_str): Remove cast. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 97cc3ea2b02..18b4f9efb0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-25 Tom Tromey + + * macrotab.c (macro_bcache_str): Remove cast. + 2012-07-25 Hui Zhu * linespec.c (linespec_lexer_lex_number): Update comments, diff --git a/gdb/macrotab.c b/gdb/macrotab.c index e65e5dc8425..6154362dbc6 100644 --- a/gdb/macrotab.c +++ b/gdb/macrotab.c @@ -128,7 +128,7 @@ macro_bcache (struct macro_table *t, const void *addr, int len) static const char * macro_bcache_str (struct macro_table *t, const char *s) { - return (char *) macro_bcache (t, s, strlen (s) + 1); + return macro_bcache (t, s, strlen (s) + 1); }