sync browseui_winetest with wine 1.1.13

svn path=/trunk/; revision=38845
This commit is contained in:
Christoph von Wittich 2009-01-17 20:13:53 +00:00
parent aecfced223
commit be6f9a9db3

View file

@ -48,7 +48,7 @@
static LPWSTR strdup_AtoW(LPCSTR str)
{
int size = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0);
LPWSTR wstr = (LPWSTR)CoTaskMemAlloc((size + 1)*sizeof(WCHAR));
LPWSTR wstr = CoTaskMemAlloc((size + 1)*sizeof(WCHAR));
MultiByteToWideChar(CP_ACP, 0, str, -1, wstr, size+1);
return wstr;
}