cleanup a->w cross calls in advapi32/crypt.c

Alexandre Julliard julliard at winehq.org
Wed Jul 21 16:08:06 CDT 2004


James Hawkins <truiken at gmail.com> writes:

> -	PCSTR KEYSTR = "Software\\Microsoft\\Cryptography\\Defaults\\Provider\\";
> -	PSTR keyname;
> +	PCWSTR KEYSTR = (PCWSTR)"Software\\Microsoft\\Cryptography\\Defaults\\Provider\\";
> +	PWSTR keyname;

This is wrong, you need to declare Unicode strings, not typecast ASCII
ones.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list