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. --- elf/rtld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') 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