netapi32/test: [1/5] Test the username and password length limits.

Dmitry Timoshkov dmitry at codeweavers.com
Fri Mar 23 23:30:11 CDT 2007


"Kai Blin" <kai.blin at gmail.com> wrote:

> +    usri.usri1_name = (LPWSTR) sTooLongName;
> +    usri.usri1_password = (LPWSTR) sTestUserOldPass;

Just drop the 'const' modifier for the declared strings, don't use
casts. There was a lot of efforts lately put into fixing Wine to
compile cleanly with -Wcast-qual turned on, please fix the code
while you are at it.

-- 
Dmitry.



More information about the wine-devel mailing list