dxdiagn: Cast-qual warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Tue Sep 12 16:56:37 CDT 2006
Changelog:
dxdiagn: Cast-qual warning fix.
diff -urN a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
--- a/dlls/dxdiagn/provider.c 2006-06-10 12:30:15.000000000 +0100
+++ b/dlls/dxdiagn/provider.c 2006-09-12 22:47:49.000000000 +0100
@@ -145,7 +145,7 @@
static HRESULT DXDiag_AddFileDescContainer(IDxDiagContainer* pSubCont, const WCHAR* szFilePath, const WCHAR* szFileName) {
HRESULT hr = S_OK;
/**/
- static const WCHAR szSlashSep[] = {'\\',0};
+ static WCHAR szSlashSep[] = {'\\',0};
static const WCHAR szPath[] = {'s','z','P','a','t','h',0};
static const WCHAR szName[] = {'s','z','N','a','m','e',0};
static const WCHAR szVersion[] = {'s','z','V','e','r','s','i','o','n',0};
@@ -179,7 +179,7 @@
retval = GetFileVersionInfoSizeW(szFile, &hdl);
pVersionInfo = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, retval);
hr = GetFileVersionInfoW(szFile, 0, retval, pVersionInfo);
- boolret = VerQueryValueW(pVersionInfo, (LPWSTR) szSlashSep, (LPVOID) &pFileInfo, &uiLength);
+ boolret = VerQueryValueW(pVersionInfo, szSlashSep, (LPVOID) &pFileInfo, &uiLength);
V_VT(&v) = VT_BSTR; V_BSTR(&v) = SysAllocString(szFile);
hr = IDxDiagContainerImpl_AddProp(pSubCont, szPath, &v);
More information about the wine-patches
mailing list