aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-07-25 15:32:09 +0000
committerTom Tromey <tromey@redhat.com>2012-07-25 15:32:09 +0000
commitd560eebdef95c9d0f58682fac4f20a376cad013f (patch)
tree1cbb9107baf732c35da95893ac52516bed86fe6d /gdb
parent03edbe3bfb93fca9d6f197040a41b0ec11ace6eb (diff)
downloadgdb-d560eebdef95c9d0f58682fac4f20a376cad013f.zip
gdb-d560eebdef95c9d0f58682fac4f20a376cad013f.tar.gz
gdb-d560eebdef95c9d0f58682fac4f20a376cad013f.tar.bz2
* macrotab.c (macro_bcache_str): Remove cast.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/macrotab.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 97cc3ea..18b4f9e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-25 Tom Tromey <tromey@redhat.com>
+
+ * macrotab.c (macro_bcache_str): Remove cast.
+
2012-07-25 Hui Zhu <hui_zhu@mentor.com>
* linespec.c (linespec_lexer_lex_number): Update comments,
diff --git a/gdb/macrotab.c b/gdb/macrotab.c
index e65e5dc..6154362 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);
}