From 4dd019e3a1c68e2988ac35a97c95a59cd307eb05 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 5 Apr 2010 19:44:16 -0700 Subject: elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. --- ChangeLog | 4 ++++ elf/rtld.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef6c9def3c..7485ec5429 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-04-05 Roland McGrath + + * elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast. + 2010-04-05 Ulrich Drepper * 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; -- cgit 1.4.1