changeset 7151:1edd14fa94ae

(unexec): Cast pointers. Fix error message.
author Karl Heuer <kwzh@gnu.org>
date Thu, 28 Apr 1994 03:49:12 +0000
parents b78bfe054561
children 48a7943730c1
files src/unexmips.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexmips.c	Thu Apr 28 03:44:48 1994 +0000
+++ b/src/unexmips.c	Thu Apr 28 03:49:12 1994 +0000
@@ -235,10 +235,10 @@
       bss_section->s_scnptr = scnptr;
     }
 
-  WRITE (new, TEXT_START, hdr.aout.tsize,
+  WRITE (new, (char *)TEXT_START, hdr.aout.tsize,
 	 "writing text section to %s", new_name);
-  WRITE (new, DATA_START, hdr.aout.dsize,
-	 "writing text section to %s", new_name);
+  WRITE (new, (char *)DATA_START, hdr.aout.dsize,
+	 "writing data section to %s", new_name);
 
   SEEK (old, hdr.fhdr.f_symptr, "seeking to start of symbols in %s", a_name);
   errno = EEOF;