Andrew Talbot : dxdiagn: Cast-qual warning fix.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Sep 13 06:07:05 CDT 2006
Module: wine
Branch: master
Commit: 6fc8454825d9d1e035613e0685a210438a0872c0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6fc8454825d9d1e035613e0685a210438a0872c0
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Tue Sep 12 22:56:37 2006 +0100
dxdiagn: Cast-qual warning fix.
---
dlls/dxdiagn/provider.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c
index 3719cd4..56b2fc1 100644
--- a/dlls/dxdiagn/provider.c
+++ b/dlls/dxdiagn/provider.c
@@ -145,7 +145,7 @@ HRESULT DXDiag_CreateDXDiagProvider(LPCL
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 @@ static HRESULT DXDiag_AddFileDescContain
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-cvs
mailing list