diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-01-30 00:38:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-01-30 00:38:09 +0000 |
commit | 1b4575aefaaa43adfed4658f7d66de587f12120e (patch) | |
tree | da685d9ca96236e7e2ad73b115d47c359187ac70 /sysdeps/ia64/dl-lookupcfg.h | |
parent | be4b5a955552a633de592a04420f4cdf8476339e (diff) | |
download | glibc-1b4575aefaaa43adfed4658f7d66de587f12120e.tar.gz glibc-1b4575aefaaa43adfed4658f7d66de587f12120e.tar.xz glibc-1b4575aefaaa43adfed4658f7d66de587f12120e.zip |
Update.
* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast to avoid warning (DL_STATIC_FUNCTION_ADDRESS): Likewise.
Diffstat (limited to 'sysdeps/ia64/dl-lookupcfg.h')
-rw-r--r-- | sysdeps/ia64/dl-lookupcfg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/ia64/dl-lookupcfg.h b/sysdeps/ia64/dl-lookupcfg.h index 76be84322a..0beb7dda59 100644 --- a/sysdeps/ia64/dl-lookupcfg.h +++ b/sysdeps/ia64/dl-lookupcfg.h @@ -41,16 +41,16 @@ extern void _dl_unmap (struct link_map *map); #define DL_AUTO_FUNCTION_ADDRESS(map, addr) \ ({ \ - unsigned long fptr[2]; \ - fptr[0] = (addr); \ + unsigned long int fptr[2]; \ + fptr[0] = (unsigned long int) (addr); \ fptr[1] = (map)->l_info[DT_PLTGOT]->d_un.d_ptr; \ (Elf64_Addr) fptr; \ }) #define DL_STATIC_FUNCTION_ADDRESS(map, addr) \ ({ \ - static unsigned long fptr[2]; \ - fptr[0] = (addr); \ + static unsigned long int fptr[2]; \ + fptr[0] = (unsigned long int) (addr); \ fptr[1] = (map)->l_info[DT_PLTGOT]->d_un.d_ptr; \ (Elf64_Addr) fptr; \ }) |