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 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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue