X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Fremap.c;fp=gas%2Fremap.c;h=b334b2c6e2d7bf523f9538d65975517929bdd4d0;hp=ae078969eb468683159ba6b8c579232b02b5b465;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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;