http://bugs.winehq.org/show_bug.cgi?id=22429
--- Comment #21 from Juan Lang juan_lang@yahoo.com 2010-05-31 10:20:37 --- (In reply to comment #19)
process.c:2446: warning: passing argument 3 of ‘NtQueryInformationProcess’ makes pointer from integer without a cast ../../include/winternl.h:2103: note: expected ‘PVOID’ but argument is of type ‘UINT’ process.c:2448: error: too many arguments to function ‘NtSetInformationProcess’ process.c: In function ‘GetErrorMode’: process.c:2460: warning: passing argument 3 of ‘NtQueryInformationProcess’ makes pointer from integer without a cast ../../include/winternl.h:2103: note: expected ‘PVOID’ but argument is of type ‘UINT’
Rats, sorry about that. Wrote this at home, but that machine no longer builds Wine, so I didn't check. I'll upload a new patch here in a second.