dlls/userenv: fixed stubs GetUserProfileDirectoryW/A (6)

Paul Vriens paul.vriens.wine at gmail.com
Fri Mar 6 07:12:11 CST 2009


Paul Vriens wrote:
> Andreas Rosenberg wrote:
>>
>> ------------------------------------------------------------------------
>>
>>
> Hi,
> 
> Error during compilation:
> 
> userenv_main.c:181: warning: passing argument 1 of ‘GetUserNameW’ from 
> incompatible pointer type
> 
> Shouldn't that line be:
> 
> res = GetUserNameW( userName, &sizeName );
> 
Oh, and you also have to respect the coding style in the tests. Current style 
doesn't have spaces after opening brace and doesn't have space before closing 
brace and does have a space after the comma (and not before) for function 
parameters.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list