diff options
Diffstat (limited to 'sim/common/sim-utils.h')
-rw-r--r-- | sim/common/sim-utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-utils.h b/sim/common/sim-utils.h index cd8aca9..b34ee94 100644 --- a/sim/common/sim-utils.h +++ b/sim/common/sim-utils.h @@ -63,8 +63,8 @@ SIM_RC sim_analyze_program (SIM_DESC sd, const char *prog_name, This is still accommodated for backward compatibility reasons. */ typedef struct host_callback_struct host_callback; -typedef int sim_write_fn (SIM_DESC sd, SIM_ADDR mem, - const void *buf, int length); +typedef uint64_t sim_write_fn (SIM_DESC sd, uint64_t mem, + const void *buf, uint64_t length); struct bfd *sim_load_file (SIM_DESC sd, const char *myname, host_callback *callback, const char *prog, struct bfd *prog_bfd, int verbose_p, |