From 1b4575aefaaa43adfed4658f7d66de587f12120e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 30 Jan 2002 00:38:09 +0000 Subject: Update. * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast to avoid warning (DL_STATIC_FUNCTION_ADDRESS): Likewise. --- sysdeps/ia64/dl-lookupcfg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps') 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; \ }) -- cgit 1.4.1