# HG changeset patch # User Karl Heuer # Date 767504952 0 # Node ID 1edd14fa94ae00f953c987c0dec753f2ea70a26e # Parent b78bfe054561bb92a1c31923aafe609ea65fe9cd (unexec): Cast pointers. Fix error message. diff -r b78bfe054561 -r 1edd14fa94ae src/unexmips.c --- 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;