aboutsummaryrefslogtreecommitdiff
path: root/gdb/macrotab.c
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/macrotab.c
parent03edbe3bfb93fca9d6f197040a41b0ec11ace6eb (diff)
downloadgdb-d560eebdef95c9d0f58682fac4f20a376cad013f.zip
gdb-d560eebdef95c9d0f58682fac4f20a376cad013f.tar.gz
gdb-d560eebdef95c9d0f58682fac4f20a376cad013f.tar.bz2
* macrotab.c (macro_bcache_str): Remove cast.
Diffstat (limited to 'gdb/macrotab.c')
-rw-r--r--gdb/macrotab.c2
1 files changed, 1 insertions, 1 deletions
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);
}