Fix gcc 4.0 -Wpointer-sign warnings.
This commit is contained in:
parent
e467a5309b
commit
53a3d04d1a
|
@ -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;
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ typedef struct {
|
|||
const IOleInPlaceObjectWindowlessVtbl *lpOleInPlaceObjectWindowlessVtbl;
|
||||
const IServiceProviderVtbl *lpServiceProviderVtbl;
|
||||
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
|
||||
IOleClientSite *client;
|
||||
IOleInPlaceSite *ipsite;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue