about summary refs log tree commit diff
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
parente5c42595d0115c53ced9bb45ccd91b6ca9b7c701 (diff)
downloadglibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.tar.gz
glibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.tar.xz
glibc-4dd019e3a1c68e2988ac35a97c95a59cd307eb05.zip
elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
-rw-r--r--ChangeLog4
-rw-r--r--elf/rtld.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef6c9def3c..7485ec5429 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-05  Roland McGrath  <roland@redhat.com>
+
+	* elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
+
 2010-04-05  Ulrich Drepper  <drepper@redhat.com>
 
 	* po/nl.po: Update from translation team.
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;