about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-04-05 19:44:16 -0700
committerRoland McGrath <roland@redhat.com>2010-04-05 19:44:16 -0700
commit4dd019e3a1c68e2988ac35a97c95a59cd307eb05 (patch)
tree8445c2a4a0bc9d8a43089aea076e683f0f6a5436 /elf
parente5c42595d0115c53ced9bb45ccd91b6ca9b7c701 (diff)
downloadglibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.tar.gz
glibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.tar.xz
glibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.zip
elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 3c414461e9..e26b2b9e1b 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1091,7 +1091,7 @@ of this helper program; chances are you did not intend to run this program.\n\
 	switch (av->a_type)
 	  {
 	  case AT_PHDR:
-	    av->a_un.a_val = phdr;
+	    av->a_un.a_val = (uintptr_t) phdr;
 	    break;
 	  case AT_PHNUM:
 	    av->a_un.a_val = phnum;