Mercurial > emacs
changeset 11796:b322ac77dadc
(unexec): Fix type mismatch.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 12 May 1995 00:12:57 +0000 |
parents | 58e13b7bc232 |
children | 562d7cdc38e3 |
files | src/unexelf.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexelf.c Thu May 11 22:19:56 1995 +0000 +++ b/src/unexelf.c Fri May 12 00:12:57 1995 +0000 @@ -791,7 +791,8 @@ && NEW_SECTION_H (n).sh_type != SHT_SYMTAB) continue; - symnames = NEW_SECTION_H (NEW_SECTION_H (n).sh_link).sh_offset + new_base; + symnames = ((byte *) new_base + + NEW_SECTION_H (NEW_SECTION_H (n).sh_link).sh_offset); symp = (Elf32_Sym *) (NEW_SECTION_H (n).sh_offset + new_base); symendp = (Elf32_Sym *) ((byte *)symp + NEW_SECTION_H (n).sh_size);