Fix gcc 4.0 -Wpointer-sign warnings.

This commit is contained in:
Mike McCormack 2005-07-06 10:33:10 +00:00 committed by Alexandre Julliard
parent e467a5309b
commit 53a3d04d1a
3 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
typedef HRESULT (*CreateInstanceFunc)(IUnknown*,REFIID,void**); typedef HRESULT (*CreateInstanceFunc)(IUnknown*,REFIID,void**);
typedef struct { typedef struct {
const IClassFactoryVtbl *lpVtbl; const IClassFactoryVtbl *lpVtbl;
ULONG ref; LONG ref;
CreateInstanceFunc fnCreateInstance; CreateInstanceFunc fnCreateInstance;
} ClassFactory; } ClassFactory;

View File

@ -29,7 +29,7 @@ typedef struct {
const IOleInPlaceObjectWindowlessVtbl *lpOleInPlaceObjectWindowlessVtbl; const IOleInPlaceObjectWindowlessVtbl *lpOleInPlaceObjectWindowlessVtbl;
const IServiceProviderVtbl *lpServiceProviderVtbl; const IServiceProviderVtbl *lpServiceProviderVtbl;
ULONG ref; LONG ref;
IOleClientSite *client; IOleClientSite *client;
IOleInPlaceSite *ipsite; IOleInPlaceSite *ipsite;

View File

@ -130,7 +130,7 @@ static HRESULT WINAPI ClassFactory_LockServer(IClassFactory *iface, BOOL dolock)
typedef struct { typedef struct {
const IInternetProtocolVtbl *lpInternetProtocolVtbl; const IInternetProtocolVtbl *lpInternetProtocolVtbl;
ULONG ref; LONG ref;
} AboutProtocol; } AboutProtocol;
static HRESULT WINAPI AboutProtocol_QueryInterface(IInternetProtocol *iface, REFIID riid, void **ppv) static HRESULT WINAPI AboutProtocol_QueryInterface(IInternetProtocol *iface, REFIID riid, void **ppv)
@ -355,7 +355,7 @@ static ProtocolFactory AboutProtocolFactory = {
typedef struct { typedef struct {
const IInternetProtocolVtbl *lpInternetProtocolVtbl; const IInternetProtocolVtbl *lpInternetProtocolVtbl;
ULONG ref; LONG ref;
BYTE *data; BYTE *data;
ULONG data_len; ULONG data_len;