Elf32_auxv_t.a_un.a_ptr no longer exists in HEAD glibc CVS, use

a_val.
This commit is contained in:
Marcus Meissner 2005-06-02 10:30:08 +00:00 committed by Alexandre Julliard
parent 0b352c7f7f
commit 2b6e7dad58
1 changed files with 2 additions and 2 deletions

View File

@ -860,8 +860,8 @@ static int is_in_preload_range( const ElfW(auxv_t) *av, int type )
{ {
for (i = 0; preload_info[i].size; i++) for (i = 0; preload_info[i].size; i++)
{ {
if ((char *)av->a_un.a_ptr >= (char *)preload_info[i].addr && if ((char *)av->a_un.a_val >= (char *)preload_info[i].addr &&
(char *)av->a_un.a_ptr < (char *)preload_info[i].addr + preload_info[i].size) (char *)av->a_un.a_val < (char *)preload_info[i].addr + preload_info[i].size)
return 1; return 1;
} }
} }