diff options
Diffstat (limited to 'gdb/coff-solib.c')
-rw-r--r-- | gdb/coff-solib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coff-solib.c b/gdb/coff-solib.c index 01ffc9c6347..697fdac2d2a 100644 --- a/gdb/coff-solib.c +++ b/gdb/coff-solib.c @@ -67,7 +67,7 @@ coff_solib_add (arg_string, from_tty, target) libsize = bfd_section_size (exec_bfd, libsect); - lib = alloca (libsize); + lib = (unsigned char *) alloca (libsize); bfd_get_section_contents (exec_bfd, libsect, lib, 0, libsize); |