From c620059479c47a78d57086d73726c9adc2f337ad Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 30 Sep 2013 18:43:46 -0700 Subject: Remove 32-bit assumptions from the ELF code. Change-Id: I2c1f3d34c33685799aade8866eec44479ff9f963 --- libc/bionic/getauxval.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/bionic/getauxval.cpp') diff --git a/libc/bionic/getauxval.cpp b/libc/bionic/getauxval.cpp index fd225e0..3ee31d6 100644 --- a/libc/bionic/getauxval.cpp +++ b/libc/bionic/getauxval.cpp @@ -32,10 +32,10 @@ #include #include -__LIBC_HIDDEN__ Elf32_auxv_t* __libc_auxv = NULL; +__LIBC_HIDDEN__ Elf_auxv_t* __libc_auxv = NULL; extern "C" unsigned long int getauxval(unsigned long int type) { - for (Elf32_auxv_t* v = __libc_auxv; v->a_type != AT_NULL; ++v) { + for (Elf_auxv_t* v = __libc_auxv; v->a_type != AT_NULL; ++v) { if (v->a_type == type) { return v->a_un.a_val; } -- cgit v1.1