summaryrefslogtreecommitdiff
path: root/gdb/addrmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/addrmap.c')
-rw-r--r--gdb/addrmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/addrmap.c b/gdb/addrmap.c
index 0dce2bb7751..30ec1ef57b2 100644
--- a/gdb/addrmap.c
+++ b/gdb/addrmap.c
@@ -224,8 +224,8 @@ static splay_tree_key
allocate_key (struct addrmap_mutable *map, CORE_ADDR addr)
{
CORE_ADDR *key = obstack_alloc (map->obstack, sizeof (*key));
- *key = addr;
+ *key = addr;
return (splay_tree_key) key;
}