Fix gcc 4.0 -Wpointer-sign warnings.

oldstable
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 struct {
const IClassFactoryVtbl *lpVtbl;
ULONG ref;
LONG ref;
CreateInstanceFunc fnCreateInstance;
} ClassFactory;

View File

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

View File

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