[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH v3 6/9] loader: Fix return type of get_auxiliary().
From: Jinoh Kang <wine () gitlab ! winehq ! org>
Date: 2022-04-30 15:26:30
Message-ID: wine-wine-mr6-v3-patch6 () gitlab-mail-bridge
[Download RAW message or body]
From: Jinoh Kang <jinoh.kang.kr@gmail.com>
This is required for fetching pointer-valued vectors (e.g.
AT_SYSINFO_EHDR).
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
---
loader/preloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/loader/preloader.c b/loader/preloader.c
index 785b6153eaf..763cf6bdbfc 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -1085,7 +1085,7 @@ static void set_auxiliary_values( struct wld_auxv *av, const struct wld_auxv *ne
*
* Get a field of the auxiliary structure
*/
-static int get_auxiliary( struct wld_auxv *av, int type, int def_val )
+static ElfW(Addr) get_auxiliary( struct wld_auxv *av, int type, ElfW(Addr) def_val )
{
for ( ; av->a_type != AT_NULL; av++)
if( av->a_type == type ) return av->a_un.a_val;
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/6
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic