Commit 8955ac43 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

gcc 4.0 -Wpointer-sign fixes.

parent 6f6d58b8
...@@ -247,7 +247,7 @@ struct IDirect3D9Impl ...@@ -247,7 +247,7 @@ struct IDirect3D9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3D9Vtbl *lpVtbl; const IDirect3D9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* The WineD3D device */ /* The WineD3D device */
IWineD3D *WineD3D; IWineD3D *WineD3D;
...@@ -292,7 +292,7 @@ struct IDirect3DDevice9Impl ...@@ -292,7 +292,7 @@ struct IDirect3DDevice9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DDevice9Vtbl *lpVtbl; const IDirect3DDevice9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DDevice9 fields */ /* IDirect3DDevice9 fields */
IWineD3DDevice *WineD3DDevice; IWineD3DDevice *WineD3DDevice;
...@@ -446,7 +446,7 @@ struct IDirect3DVolume9Impl ...@@ -446,7 +446,7 @@ struct IDirect3DVolume9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVolume9Vtbl *lpVtbl; const IDirect3DVolume9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DVolume9 fields */ /* IDirect3DVolume9 fields */
IWineD3DVolume *wineD3DVolume; IWineD3DVolume *wineD3DVolume;
...@@ -484,7 +484,7 @@ typedef struct IDirect3DSwapChain9Impl ...@@ -484,7 +484,7 @@ typedef struct IDirect3DSwapChain9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DSwapChain9Vtbl *lpVtbl; const IDirect3DSwapChain9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DSwapChain9 fields */ /* IDirect3DSwapChain9 fields */
IWineD3DSwapChain *wineD3DSwapChain; IWineD3DSwapChain *wineD3DSwapChain;
...@@ -506,7 +506,7 @@ struct IDirect3DResource9Impl ...@@ -506,7 +506,7 @@ struct IDirect3DResource9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DResource9Vtbl *lpVtbl; const IDirect3DResource9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DResource *wineD3DResource; IWineD3DResource *wineD3DResource;
...@@ -544,7 +544,7 @@ struct IDirect3DSurface9Impl ...@@ -544,7 +544,7 @@ struct IDirect3DSurface9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DSurface9Vtbl *lpVtbl; const IDirect3DSurface9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DSurface *wineD3DSurface; IWineD3DSurface *wineD3DSurface;
...@@ -591,7 +591,7 @@ struct IDirect3DVertexBuffer9Impl ...@@ -591,7 +591,7 @@ struct IDirect3DVertexBuffer9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVertexBuffer9Vtbl *lpVtbl; const IDirect3DVertexBuffer9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DVertexBuffer *wineD3DVertexBuffer; IWineD3DVertexBuffer *wineD3DVertexBuffer;
...@@ -634,7 +634,7 @@ struct IDirect3DIndexBuffer9Impl ...@@ -634,7 +634,7 @@ struct IDirect3DIndexBuffer9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DIndexBuffer9Vtbl *lpVtbl; const IDirect3DIndexBuffer9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DIndexBuffer *wineD3DIndexBuffer; IWineD3DIndexBuffer *wineD3DIndexBuffer;
...@@ -677,7 +677,7 @@ struct IDirect3DBaseTexture9Impl ...@@ -677,7 +677,7 @@ struct IDirect3DBaseTexture9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DBaseTexture9Vtbl *lpVtbl; const IDirect3DBaseTexture9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DBaseTexture *wineD3DBaseTexture; IWineD3DBaseTexture *wineD3DBaseTexture;
...@@ -723,7 +723,7 @@ struct IDirect3DCubeTexture9Impl ...@@ -723,7 +723,7 @@ struct IDirect3DCubeTexture9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DCubeTexture9Vtbl *lpVtbl; const IDirect3DCubeTexture9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DCubeTexture *wineD3DCubeTexture; IWineD3DCubeTexture *wineD3DCubeTexture;
...@@ -776,7 +776,7 @@ struct IDirect3DTexture9Impl ...@@ -776,7 +776,7 @@ struct IDirect3DTexture9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DTexture9Vtbl *lpVtbl; const IDirect3DTexture9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DTexture *wineD3DTexture; IWineD3DTexture *wineD3DTexture;
...@@ -830,7 +830,7 @@ struct IDirect3DVolumeTexture9Impl ...@@ -830,7 +830,7 @@ struct IDirect3DVolumeTexture9Impl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVolumeTexture9Vtbl *lpVtbl; const IDirect3DVolumeTexture9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DResource9 fields */ /* IDirect3DResource9 fields */
IWineD3DVolumeTexture *wineD3DVolumeTexture; IWineD3DVolumeTexture *wineD3DVolumeTexture;
...@@ -882,7 +882,7 @@ extern const IDirect3DStateBlock9Vtbl Direct3DStateBlock9_Vtbl; ...@@ -882,7 +882,7 @@ extern const IDirect3DStateBlock9Vtbl Direct3DStateBlock9_Vtbl;
typedef struct IDirect3DStateBlock9Impl { typedef struct IDirect3DStateBlock9Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DStateBlock9Vtbl *lpVtbl; const IDirect3DStateBlock9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DStateBlock9 fields */ /* IDirect3DStateBlock9 fields */
IWineD3DStateBlock *wineD3DStateBlock; IWineD3DStateBlock *wineD3DStateBlock;
...@@ -904,7 +904,7 @@ extern const IDirect3DVertexDeclaration9Vtbl Direct3DVertexDeclaration9_Vtbl; ...@@ -904,7 +904,7 @@ extern const IDirect3DVertexDeclaration9Vtbl Direct3DVertexDeclaration9_Vtbl;
struct IDirect3DVertexDeclaration9Impl { struct IDirect3DVertexDeclaration9Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVertexDeclaration9Vtbl *lpVtbl; const IDirect3DVertexDeclaration9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DVertexDeclaration9 fields */ /* IDirect3DVertexDeclaration9 fields */
IWineD3DVertexDeclaration *wineD3DVertexDeclaration; IWineD3DVertexDeclaration *wineD3DVertexDeclaration;
...@@ -935,7 +935,7 @@ extern const IDirect3DVertexShader9Vtbl Direct3DVertexShader9_Vtbl; ...@@ -935,7 +935,7 @@ extern const IDirect3DVertexShader9Vtbl Direct3DVertexShader9_Vtbl;
struct IDirect3DVertexShader9Impl { struct IDirect3DVertexShader9Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DVertexShader9Vtbl *lpVtbl; const IDirect3DVertexShader9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DVertexDeclaration9 fields */ /* IDirect3DVertexDeclaration9 fields */
IDirect3DDevice9Impl* Device; IDirect3DDevice9Impl* Device;
...@@ -977,7 +977,7 @@ extern const IDirect3DPixelShader9Vtbl Direct3DPixelShader9_Vtbl; ...@@ -977,7 +977,7 @@ extern const IDirect3DPixelShader9Vtbl Direct3DPixelShader9_Vtbl;
typedef struct IDirect3DPixelShader9Impl { typedef struct IDirect3DPixelShader9Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DPixelShader9Vtbl *lpVtbl; const IDirect3DPixelShader9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DPixelShader9 fields */ /* IDirect3DPixelShader9 fields */
IWineD3DPixelShader *wineD3DPixelShader; IWineD3DPixelShader *wineD3DPixelShader;
...@@ -999,7 +999,7 @@ extern const IDirect3DQuery9Vtbl Direct3DQuery9_Vtbl; ...@@ -999,7 +999,7 @@ extern const IDirect3DQuery9Vtbl Direct3DQuery9_Vtbl;
typedef struct IDirect3DQuery9Impl { typedef struct IDirect3DQuery9Impl {
/* IUnknown fields */ /* IUnknown fields */
const IDirect3DQuery9Vtbl *lpVtbl; const IDirect3DQuery9Vtbl *lpVtbl;
DWORD ref; LONG ref;
/* IDirect3DQuery9 fields */ /* IDirect3DQuery9 fields */
IWineD3DQuery *wineD3DQuery; IWineD3DQuery *wineD3DQuery;
......
...@@ -363,7 +363,7 @@ typedef struct IWineD3DImpl ...@@ -363,7 +363,7 @@ typedef struct IWineD3DImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IWineD3DVtbl *lpVtbl; const IWineD3DVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
/* WineD3D Information */ /* WineD3D Information */
IUnknown *parent; IUnknown *parent;
...@@ -420,7 +420,7 @@ typedef struct IWineD3DDeviceImpl ...@@ -420,7 +420,7 @@ typedef struct IWineD3DDeviceImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IWineD3DDeviceVtbl *lpVtbl; const IWineD3DDeviceVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
/* WineD3D Information */ /* WineD3D Information */
IUnknown *parent; IUnknown *parent;
...@@ -520,7 +520,7 @@ typedef struct PrivateData ...@@ -520,7 +520,7 @@ typedef struct PrivateData
typedef struct IWineD3DResourceClass typedef struct IWineD3DResourceClass
{ {
/* IUnknown fields */ /* IUnknown fields */
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
/* WineD3DResource Information */ /* WineD3DResource Information */
IUnknown *parent; IUnknown *parent;
...@@ -740,7 +740,7 @@ extern const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl; ...@@ -740,7 +740,7 @@ extern const IWineD3DSurfaceVtbl IWineD3DSurface_Vtbl;
typedef struct IWineD3DVertexDeclarationImpl { typedef struct IWineD3DVertexDeclarationImpl {
/* IUnknown Information */ /* IUnknown Information */
const IWineD3DVertexDeclarationVtbl *lpVtbl; const IWineD3DVertexDeclarationVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
IUnknown *parent; IUnknown *parent;
/** precomputed fvf if simple declaration */ /** precomputed fvf if simple declaration */
...@@ -788,7 +788,7 @@ struct IWineD3DStateBlockImpl ...@@ -788,7 +788,7 @@ struct IWineD3DStateBlockImpl
{ {
/* IUnknown fields */ /* IUnknown fields */
const IWineD3DStateBlockVtbl *lpVtbl; const IWineD3DStateBlockVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
/* IWineD3DStateBlock information */ /* IWineD3DStateBlock information */
IUnknown *parent; IUnknown *parent;
...@@ -863,7 +863,7 @@ extern const IWineD3DStateBlockVtbl IWineD3DStateBlock_Vtbl; ...@@ -863,7 +863,7 @@ extern const IWineD3DStateBlockVtbl IWineD3DStateBlock_Vtbl;
typedef struct IWineD3DQueryImpl typedef struct IWineD3DQueryImpl
{ {
const IWineD3DQueryVtbl *lpVtbl; const IWineD3DQueryVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
IUnknown *parent; IUnknown *parent;
/*TODO: replace with iface usage */ /*TODO: replace with iface usage */
...@@ -890,7 +890,7 @@ typedef struct IWineD3DSwapChainImpl ...@@ -890,7 +890,7 @@ typedef struct IWineD3DSwapChainImpl
{ {
/*IUnknown part*/ /*IUnknown part*/
IWineD3DSwapChainVtbl *lpVtbl; IWineD3DSwapChainVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
IUnknown *parent; IUnknown *parent;
IWineD3DDeviceImpl *wineD3DDevice; IWineD3DDeviceImpl *wineD3DDevice;
...@@ -1006,7 +1006,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i ...@@ -1006,7 +1006,7 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
typedef struct IWineD3DVertexShaderImpl { typedef struct IWineD3DVertexShaderImpl {
/* IUnknown parts*/ /* IUnknown parts*/
const IWineD3DVertexShaderVtbl *lpVtbl; const IWineD3DVertexShaderVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
IUnknown *parent; IUnknown *parent;
IWineD3DDeviceImpl *wineD3DDevice; IWineD3DDeviceImpl *wineD3DDevice;
...@@ -1032,7 +1032,7 @@ extern const IWineD3DVertexShaderVtbl IWineD3DVertexShader_Vtbl; ...@@ -1032,7 +1032,7 @@ extern const IWineD3DVertexShaderVtbl IWineD3DVertexShader_Vtbl;
typedef struct IWineD3DPixelShaderImpl { typedef struct IWineD3DPixelShaderImpl {
/* IUnknown parts*/ /* IUnknown parts*/
const IWineD3DPixelShaderVtbl *lpVtbl; const IWineD3DPixelShaderVtbl *lpVtbl;
DWORD ref; /* Note: Ref counting not required */ LONG ref; /* Note: Ref counting not required */
IUnknown *parent; IUnknown *parent;
IWineD3DDeviceImpl *wineD3DDevice; IWineD3DDeviceImpl *wineD3DDevice;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment