]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 ef6c9def3c568d4d5de3d24c43184f4b654c9197..7485ec54297ee19323d0f62eabea878e32407235 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 3c414461e9737cbcf36a316d8598b92b243b1b07..e26b2b9e1bbdc21d3f71c6ac60e1f380784dadc6 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;