wfreerdp-server: fix non-unicode build

This commit is contained in:
Marc-André Moreau 2012-10-17 15:31:21 -04:00
parent 63858bf722
commit 336141346b

View File

@ -92,7 +92,7 @@ BOOL wf_settings_read_string_ascii(HKEY key, LPTSTR subkey, LPTSTR name, char**
strA[length] = '\0';
free(strX);
#else
strA = (char*) str;
strA = (char*) strX;
#endif
*value = strA;
return TRUE;