diff options
Diffstat (limited to 'gdb/machoread.c')
-rw-r--r-- | gdb/machoread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c index 675155e..b7510fd 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -783,7 +783,7 @@ macho_check_dsym (struct objfile *objfile, char **filenamep) size_t dsym_len = strlen (DSYM_SUFFIX); const char *base_name = lbasename (objfile_name (objfile)); size_t base_len = strlen (base_name); - char *dsym_filename = alloca (name_len + dsym_len + base_len + 1); + char *dsym_filename = (char *) alloca (name_len + dsym_len + base_len + 1); bfd *dsym_bfd; bfd_mach_o_load_command *main_uuid; bfd_mach_o_load_command *dsym_uuid; |