elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
authorRoland McGrath <roland@redhat.com>
Tue, 6 Apr 2010 02:44:16 +0000 (19:44 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 6 Apr 2010 02:44:16 +0000 (19:44 -0700)
ChangeLog
elf/rtld.c

index ef6c9de..7485ec5 100644 (file)
--- 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.
index 3c41446..e26b2b9 100644 (file)
@@ -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;