From 8955ac43a3badd5c6cd65daf94fd47bfb5388cd8 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Thu, 28 Jul 2005 10:16:21 +0000 Subject: [PATCH] gcc 4.0 -Wpointer-sign fixes. --- dlls/d3d9/d3d9_private.h | 34 +++++++++++++++++----------------- dlls/wined3d/wined3d_private.h | 18 +++++++++--------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/dlls/d3d9/d3d9_private.h b/dlls/d3d9/d3d9_private.h index bb7f4765ed..a94b2ea65b 100644 --- a/dlls/d3d9/d3d9_private.h +++ b/dlls/d3d9/d3d9_private.h @@ -247,7 +247,7 @@ struct IDirect3D9Impl { /* IUnknown fields */ const IDirect3D9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* The WineD3D device */ IWineD3D *WineD3D; @@ -292,7 +292,7 @@ struct IDirect3DDevice9Impl { /* IUnknown fields */ const IDirect3DDevice9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DDevice9 fields */ IWineD3DDevice *WineD3DDevice; @@ -446,7 +446,7 @@ struct IDirect3DVolume9Impl { /* IUnknown fields */ const IDirect3DVolume9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DVolume9 fields */ IWineD3DVolume *wineD3DVolume; @@ -484,7 +484,7 @@ typedef struct IDirect3DSwapChain9Impl { /* IUnknown fields */ const IDirect3DSwapChain9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DSwapChain9 fields */ IWineD3DSwapChain *wineD3DSwapChain; @@ -506,7 +506,7 @@ struct IDirect3DResource9Impl { /* IUnknown fields */ const IDirect3DResource9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DResource *wineD3DResource; @@ -544,7 +544,7 @@ struct IDirect3DSurface9Impl { /* IUnknown fields */ const IDirect3DSurface9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DSurface *wineD3DSurface; @@ -591,7 +591,7 @@ struct IDirect3DVertexBuffer9Impl { /* IUnknown fields */ const IDirect3DVertexBuffer9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DVertexBuffer *wineD3DVertexBuffer; @@ -634,7 +634,7 @@ struct IDirect3DIndexBuffer9Impl { /* IUnknown fields */ const IDirect3DIndexBuffer9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DIndexBuffer *wineD3DIndexBuffer; @@ -677,7 +677,7 @@ struct IDirect3DBaseTexture9Impl { /* IUnknown fields */ const IDirect3DBaseTexture9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DBaseTexture *wineD3DBaseTexture; @@ -723,7 +723,7 @@ struct IDirect3DCubeTexture9Impl { /* IUnknown fields */ const IDirect3DCubeTexture9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DCubeTexture *wineD3DCubeTexture; @@ -776,7 +776,7 @@ struct IDirect3DTexture9Impl { /* IUnknown fields */ const IDirect3DTexture9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DTexture *wineD3DTexture; @@ -830,7 +830,7 @@ struct IDirect3DVolumeTexture9Impl { /* IUnknown fields */ const IDirect3DVolumeTexture9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DResource9 fields */ IWineD3DVolumeTexture *wineD3DVolumeTexture; @@ -882,7 +882,7 @@ extern const IDirect3DStateBlock9Vtbl Direct3DStateBlock9_Vtbl; typedef struct IDirect3DStateBlock9Impl { /* IUnknown fields */ const IDirect3DStateBlock9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DStateBlock9 fields */ IWineD3DStateBlock *wineD3DStateBlock; @@ -904,7 +904,7 @@ extern const IDirect3DVertexDeclaration9Vtbl Direct3DVertexDeclaration9_Vtbl; struct IDirect3DVertexDeclaration9Impl { /* IUnknown fields */ const IDirect3DVertexDeclaration9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DVertexDeclaration9 fields */ IWineD3DVertexDeclaration *wineD3DVertexDeclaration; @@ -935,7 +935,7 @@ extern const IDirect3DVertexShader9Vtbl Direct3DVertexShader9_Vtbl; struct IDirect3DVertexShader9Impl { /* IUnknown fields */ const IDirect3DVertexShader9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DVertexDeclaration9 fields */ IDirect3DDevice9Impl* Device; @@ -977,7 +977,7 @@ extern const IDirect3DPixelShader9Vtbl Direct3DPixelShader9_Vtbl; typedef struct IDirect3DPixelShader9Impl { /* IUnknown fields */ const IDirect3DPixelShader9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DPixelShader9 fields */ IWineD3DPixelShader *wineD3DPixelShader; @@ -999,7 +999,7 @@ extern const IDirect3DQuery9Vtbl Direct3DQuery9_Vtbl; typedef struct IDirect3DQuery9Impl { /* IUnknown fields */ const IDirect3DQuery9Vtbl *lpVtbl; - DWORD ref; + LONG ref; /* IDirect3DQuery9 fields */ IWineD3DQuery *wineD3DQuery; diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 725f80b8e8..a25270aaa1 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -363,7 +363,7 @@ typedef struct IWineD3DImpl { /* IUnknown fields */ const IWineD3DVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ /* WineD3D Information */ IUnknown *parent; @@ -420,7 +420,7 @@ typedef struct IWineD3DDeviceImpl { /* IUnknown fields */ const IWineD3DDeviceVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ /* WineD3D Information */ IUnknown *parent; @@ -520,7 +520,7 @@ typedef struct PrivateData typedef struct IWineD3DResourceClass { /* IUnknown fields */ - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ /* WineD3DResource Information */ IUnknown *parent; @@ -740,7 +740,7 @@ extern const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl; typedef struct IWineD3DVertexDeclarationImpl { /* IUnknown Information */ const IWineD3DVertexDeclarationVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ IUnknown *parent; /** precomputed fvf if simple declaration */ @@ -788,7 +788,7 @@ struct IWineD3DStateBlockImpl { /* IUnknown fields */ const IWineD3DStateBlockVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ /* IWineD3DStateBlock information */ IUnknown *parent; @@ -863,7 +863,7 @@ extern const IWineD3DStateBlockVtbl IWineD3DStateBlock_Vtbl; typedef struct IWineD3DQueryImpl { const IWineD3DQueryVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ IUnknown *parent; /*TODO: replace with iface usage */ @@ -890,7 +890,7 @@ typedef struct IWineD3DSwapChainImpl { /*IUnknown part*/ IWineD3DSwapChainVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ IUnknown *parent; IWineD3DDeviceImpl *wineD3DDevice; @@ -1006,7 +1006,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i typedef struct IWineD3DVertexShaderImpl { /* IUnknown parts*/ const IWineD3DVertexShaderVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ IUnknown *parent; IWineD3DDeviceImpl *wineD3DDevice; @@ -1032,7 +1032,7 @@ extern const IWineD3DVertexShaderVtbl IWineD3DVertexShader_Vtbl; typedef struct IWineD3DPixelShaderImpl { /* IUnknown parts*/ const IWineD3DPixelShaderVtbl *lpVtbl; - DWORD ref; /* Note: Ref counting not required */ + LONG ref; /* Note: Ref counting not required */ IUnknown *parent; IWineD3DDeviceImpl *wineD3DDevice;