aboutsummaryrefslogtreecommitdiff
path: root/gas/remap.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/remap.c')
-rw-r--r--gas/remap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/remap.c b/gas/remap.c
index ae07896..b334b2c 100644
--- a/gas/remap.c
+++ b/gas/remap.c
@@ -52,7 +52,7 @@ add_debug_prefix_map (const char *arg)
as_fatal (_("invalid argument '%s' to -fdebug-prefix-map"), arg);
return;
}
- map = xmalloc (sizeof (debug_prefix_map));
+ map = (struct debug_prefix_map *) xmalloc (sizeof (debug_prefix_map));
o = xstrdup (arg);
map->old_prefix = o;
map->old_len = p - arg;