Eliminate HeapAlloc cast
Jakob Eriksson
jakov at vmlinux.org
Tue Mar 22 02:36:58 CST 2005
-------------- next part --------------
Index: dlls/shlwapi/tests/path.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/tests/path.c,v
retrieving revision 1.18
diff -u -r1.18 path.c
--- dlls/shlwapi/tests/path.c 21 Mar 2005 10:54:35 -0000 1.18
+++ dlls/shlwapi/tests/path.c 22 Mar 2005 08:36:26 -0000
@@ -284,8 +284,7 @@
static LPWSTR GetWideString(const char* szString)
{
- LPWSTR wszString = (LPWSTR) HeapAlloc(GetProcessHeap(), 0,
- (2*INTERNET_MAX_URL_LENGTH) * sizeof(WCHAR));
+ LPWSTR wszString = HeapAlloc(GetProcessHeap(), 0, (2*INTERNET_MAX_URL_LENGTH) * sizeof(WCHAR));
MultiByteToWideChar(0, 0, szString, -1, wszString, INTERNET_MAX_URL_LENGTH);
More information about the wine-patches
mailing list