Qian Hong : loader: Fix wld_prctl prototype.
Module: wine Branch: master Commit: 33765285c535ea521961a6ee812db08c79abda6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=33765285c535ea521961a6ee81... Author: Qian Hong <qhong(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard