Qian Hong : loader: Fix wld_prctl prototype.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 4 10:37:01 CDT 2016
Module: wine
Branch: master
Commit: 33765285c535ea521961a6ee812db08c79abda6e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=33765285c535ea521961a6ee812db08c79abda6e
Author: Qian Hong <qhong at codeweavers.com>
Date: Mon Apr 4 01:42:06 2016 +0800
loader: Fix wld_prctl prototype.
Spotted by Robert O'Callahan.
Signed-off-by: Qian Hong <qhong at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
loader/preloader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/loader/preloader.c b/loader/preloader.c
index 25aaacd..db0e998 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -423,7 +423,7 @@ SYSCALL_FUNC( wld_mmap, 9 /* SYS_mmap */ );
int wld_mprotect( const void *addr, size_t len, int prot );
SYSCALL_FUNC( wld_mprotect, 10 /* SYS_mprotect */ );
-int wld_prctl( int code, int arg );
+int wld_prctl( int code, long arg );
SYSCALL_FUNC( wld_prctl, 157 /* SYS_prctl */ );
uid_t wld_getuid(void);
More information about the wine-cvs
mailing list