From 89b043744faf61be0f95c5bb40d5926eb10c1bf1 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Thu, 15 Jan 2009 09:44:36 +0100 Subject: [PATCH] dxdiagn: Remove superfluous pointer casts. --- dlls/dxdiagn/provider.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index a55bbb44f0..398c9ad9cd 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -353,7 +353,7 @@ static HRESULT DXDiag_InitDXDiagSystemDevicesContainer(IDxDiagContainer* pSubCon IDxDiagContainer* pDeviceSubCont = NULL; IDxDiagContainer* pDriversCont = NULL; - hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &pDeviceSubCont); + hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, &pDeviceSubCont); if (FAILED(hr)) { return hr; } V_VT(pvarProp) = VT_BSTR; V_BSTR(pvarProp) = SysAllocString(property->psz); hr = IDxDiagContainerImpl_AddProp(pDeviceSubCont, szDescription, &v); @@ -369,7 +369,7 @@ static HRESULT DXDiag_InitDXDiagSystemDevicesContainer(IDxDiagContainer* pSubCon * Drivers Cont contains Files Desc Containers */ /* - hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &pDriversCont); + hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, &pDriversCont); if (FAILED(hr)) { return hr; } hr = IDxDiagContainerImpl_AddChildContainer(pDeviceSubCont, szDrivers, pDriversCont); @@ -394,7 +394,7 @@ static HRESULT DXDiag_InitDXDiagLogicalDisksContainer(IDxDiagContainer* pSubCont IDxDiagContainer* pDiskSubCont = NULL; IDxDiagContainer* pDriversCont = NULL; - hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &pDiskSubCont); + hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, &pDiskSubCont); if (FAILED(hr)) { return hr; } hr = IDxDiagContainerImpl_AddChildContainer(pSubCont, "" , pDiskSubCont); */ @@ -403,7 +403,7 @@ static HRESULT DXDiag_InitDXDiagLogicalDisksContainer(IDxDiagContainer* pSubCont * Drivers Cont contains Files Desc Containers */ /* - hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, (void**) &pDriversCont); + hr = DXDiag_CreateDXDiagContainer(&IID_IDxDiagContainer, &pDriversCont); if (FAILED(hr)) { return hr; } hr = IDxDiagContainerImpl_AddChildContainer(pDeviceSubCont, szDrivers, pDriversCont); */