diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index f4779ade3e4..ea0ce2070b0 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2011-01-05 Mike Frysinger + + * sim-load.c (sim_load_file): Change buffer type to unsigned char *. + 2011-01-05 Joel Brobecker * run.1: Copyright year update. diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index ee794cef05a..698d1c172a8 100644 --- a/sim/common/sim-load.c +++ b/sim/common/sim-load.c @@ -111,7 +111,7 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write) size = bfd_get_section_size (s); if (size > 0) { - char *buffer; + unsigned char *buffer; bfd_vma lma; buffer = malloc (size);