From d560eebdef95c9d0f58682fac4f20a376cad013f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 25 Jul 2012 15:32:09 +0000 Subject: [PATCH] * macrotab.c (macro_bcache_str): Remove cast. --- gdb/ChangeLog | 4 ++++ gdb/macrotab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.30.2