projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: m68hc11: fix up various prototype related warnings
[external/binutils.git]
/
sim
/
m68hc11
/
dv-nvram.c
diff --git
a/sim/m68hc11/dv-nvram.c
b/sim/m68hc11/dv-nvram.c
index
6a27a32
..
6a72c96
100644
(file)
--- a/
sim/m68hc11/dv-nvram.c
+++ b/
sim/m68hc11/dv-nvram.c
@@
-186,7
+186,7
@@
attach_nvram_regs (struct hw *me, struct nvram *controller)
case NVRAM_SAVE_MODIFIED:
case NVRAM_SAVE_ALL:
- controller->data =
(char*)
hw_malloc (me, attach_size);
+ controller->data = hw_malloc (me, attach_size);
if (controller->data == 0)
hw_abort (me, "Not enough memory, try to use the mode 'map'");