aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-04-28 03:49:12 +0000
committerKarl Heuer1994-04-28 03:49:12 +0000
commitc6bfa94791727ea94b030bf45d248d1b7fe90b64 (patch)
tree91d17e4fd1ac819a7814197971b76d831db2de57 /src
parent09642d9796abbc1501544f783bd3fc57d925168e (diff)
downloademacs-c6bfa94791727ea94b030bf45d248d1b7fe90b64.tar.gz
emacs-c6bfa94791727ea94b030bf45d248d1b7fe90b64.zip
(unexec): Cast pointers. Fix error message.
Diffstat (limited to 'src')
-rw-r--r--src/unexmips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unexmips.c b/src/unexmips.c
index a88235a464e..598791098ea 100644
--- a/src/unexmips.c
+++ b/src/unexmips.c
@@ -235,10 +235,10 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
235 bss_section->s_scnptr = scnptr; 235 bss_section->s_scnptr = scnptr;
236 } 236 }
237 237
238 WRITE (new, TEXT_START, hdr.aout.tsize, 238 WRITE (new, (char *)TEXT_START, hdr.aout.tsize,
239 "writing text section to %s", new_name);
240 WRITE (new, DATA_START, hdr.aout.dsize,
241 "writing text section to %s", new_name); 239 "writing text section to %s", new_name);
240 WRITE (new, (char *)DATA_START, hdr.aout.dsize,
241 "writing data section to %s", new_name);
242 242
243 SEEK (old, hdr.fhdr.f_symptr, "seeking to start of symbols in %s", a_name); 243 SEEK (old, hdr.fhdr.f_symptr, "seeking to start of symbols in %s", a_name);
244 errno = EEOF; 244 errno = EEOF;