Mercurial > emacs
changeset 18639:2ad503f49fd7
(update_dynamic_symbols): Add cast when setting reladdr.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 06 Jul 1997 23:24:28 +0000 |
parents | ac27714a02cf |
children | 0481616b859c |
files | src/unexalpha.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/unexalpha.c Sun Jul 06 23:12:14 1997 +0000 +++ b/src/unexalpha.c Sun Jul 06 23:24:28 1997 +0000 @@ -463,7 +463,7 @@ 4. len is the size of the object reference in bytes -- currently only 4 (long) and 8 (quad) are supported. */ - register unsigned long reladdr = rd_base[i].addr - old_data_scnhdr.s_vaddr; + register unsigned long reladdr = (long)rd_base[i].addr - old_data_scnhdr.s_vaddr; char * oldref = old + old_data_scnhdr.s_scnptr + reladdr; unsigned long newref = aout.tsize + reladdr; int len;