Interlocked LONG* gcc warning fixes.
This commit is contained in:
parent
8d9d1fb17b
commit
fc200d0ca7
|
@ -54,7 +54,7 @@ typedef struct ConnectionPointImpl {
|
||||||
IUnknown *Obj;
|
IUnknown *Obj;
|
||||||
|
|
||||||
/* Reference count */
|
/* Reference count */
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
/* IID of sink interface */
|
/* IID of sink interface */
|
||||||
IID iid;
|
IID iid;
|
||||||
|
@ -76,7 +76,7 @@ typedef struct EnumConnectionsImpl {
|
||||||
|
|
||||||
const IEnumConnectionsVtbl *lpvtbl;
|
const IEnumConnectionsVtbl *lpvtbl;
|
||||||
|
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
/* IUnknown of ConnectionPoint, used for ref counting */
|
/* IUnknown of ConnectionPoint, used for ref counting */
|
||||||
IUnknown *pUnk;
|
IUnknown *pUnk;
|
||||||
|
|
|
@ -217,7 +217,7 @@ typedef struct
|
||||||
const IDispatchVtbl *lpVtbl;
|
const IDispatchVtbl *lpVtbl;
|
||||||
void * pvThis;
|
void * pvThis;
|
||||||
ITypeInfo * pTypeInfo;
|
ITypeInfo * pTypeInfo;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
} StdDispatch;
|
} StdDispatch;
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
|
@ -72,7 +72,7 @@ struct OLEFontImpl
|
||||||
/*
|
/*
|
||||||
* Reference count for that instance of the class.
|
* Reference count for that instance of the class.
|
||||||
*/
|
*/
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This structure contains the description of the class.
|
* This structure contains the description of the class.
|
||||||
|
@ -2102,7 +2102,7 @@ typedef struct
|
||||||
{
|
{
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IClassFactoryVtbl *lpVtbl;
|
const IClassFactoryVtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
} IClassFactoryImpl;
|
} IClassFactoryImpl;
|
||||||
|
|
||||||
static HRESULT WINAPI
|
static HRESULT WINAPI
|
||||||
|
|
|
@ -109,7 +109,7 @@ typedef struct OLEPictureImpl {
|
||||||
const IConnectionPointContainerVtbl *lpvtbl4;
|
const IConnectionPointContainerVtbl *lpvtbl4;
|
||||||
|
|
||||||
/* Object reference count */
|
/* Object reference count */
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
|
|
||||||
/* We own the object and must destroy it ourselves */
|
/* We own the object and must destroy it ourselves */
|
||||||
BOOL fOwn;
|
BOOL fOwn;
|
||||||
|
@ -2210,7 +2210,7 @@ typedef struct
|
||||||
{
|
{
|
||||||
/* IUnknown fields */
|
/* IUnknown fields */
|
||||||
const IClassFactoryVtbl *lpVtbl;
|
const IClassFactoryVtbl *lpVtbl;
|
||||||
DWORD ref;
|
LONG ref;
|
||||||
} IClassFactoryImpl;
|
} IClassFactoryImpl;
|
||||||
|
|
||||||
static HRESULT WINAPI
|
static HRESULT WINAPI
|
||||||
|
|
|
@ -42,7 +42,7 @@ typedef struct {
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const IRecordInfoVtbl *lpVtbl;
|
const IRecordInfoVtbl *lpVtbl;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
GUID guid;
|
GUID guid;
|
||||||
UINT lib_index;
|
UINT lib_index;
|
||||||
|
|
|
@ -358,7 +358,7 @@ typedef struct _TMAsmProxy {
|
||||||
typedef struct _TMProxyImpl {
|
typedef struct _TMProxyImpl {
|
||||||
LPVOID *lpvtbl;
|
LPVOID *lpvtbl;
|
||||||
const IRpcProxyBufferVtbl *lpvtbl2;
|
const IRpcProxyBufferVtbl *lpvtbl2;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
TMAsmProxy *asmstubs;
|
TMAsmProxy *asmstubs;
|
||||||
ITypeInfo* tinfo;
|
ITypeInfo* tinfo;
|
||||||
|
@ -1912,7 +1912,7 @@ PSFacBuf_CreateProxy(
|
||||||
|
|
||||||
typedef struct _TMStubImpl {
|
typedef struct _TMStubImpl {
|
||||||
const IRpcStubBufferVtbl *lpvtbl;
|
const IRpcStubBufferVtbl *lpvtbl;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
LPUNKNOWN pUnk;
|
LPUNKNOWN pUnk;
|
||||||
ITypeInfo *tinfo;
|
ITypeInfo *tinfo;
|
||||||
|
|
|
@ -865,7 +865,7 @@ typedef struct tagITypeLibImpl
|
||||||
{
|
{
|
||||||
const ITypeLib2Vtbl *lpVtbl;
|
const ITypeLib2Vtbl *lpVtbl;
|
||||||
const ITypeCompVtbl *lpVtblTypeComp;
|
const ITypeCompVtbl *lpVtblTypeComp;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
TLIBATTR LibAttr; /* guid,lcid,syskind,version,flags */
|
TLIBATTR LibAttr; /* guid,lcid,syskind,version,flags */
|
||||||
|
|
||||||
/* strings can be stored in tlb as multibyte strings BUT they are *always*
|
/* strings can be stored in tlb as multibyte strings BUT they are *always*
|
||||||
|
@ -977,7 +977,7 @@ typedef struct tagITypeInfoImpl
|
||||||
{
|
{
|
||||||
const ITypeInfo2Vtbl *lpVtbl;
|
const ITypeInfo2Vtbl *lpVtbl;
|
||||||
const ITypeCompVtbl *lpVtblTypeComp;
|
const ITypeCompVtbl *lpVtblTypeComp;
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
TYPEATTR TypeAttr ; /* _lots_ of type information. */
|
TYPEATTR TypeAttr ; /* _lots_ of type information. */
|
||||||
ITypeLibImpl * pTypeLib; /* back pointer to typelib */
|
ITypeLibImpl * pTypeLib; /* back pointer to typelib */
|
||||||
int index; /* index in this typelib; */
|
int index; /* index in this typelib; */
|
||||||
|
|
|
@ -148,7 +148,7 @@ typedef struct tagICreateTypeLib2Impl
|
||||||
const ICreateTypeLib2Vtbl *lpVtbl;
|
const ICreateTypeLib2Vtbl *lpVtbl;
|
||||||
const ITypeLib2Vtbl *lpVtblTypeLib2;
|
const ITypeLib2Vtbl *lpVtblTypeLib2;
|
||||||
|
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
WCHAR *filename;
|
WCHAR *filename;
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ typedef struct tagICreateTypeInfo2Impl
|
||||||
const ICreateTypeInfo2Vtbl *lpVtbl;
|
const ICreateTypeInfo2Vtbl *lpVtbl;
|
||||||
const ITypeInfo2Vtbl *lpVtblTypeInfo2;
|
const ITypeInfo2Vtbl *lpVtblTypeInfo2;
|
||||||
|
|
||||||
ULONG ref;
|
LONG ref;
|
||||||
|
|
||||||
ICreateTypeLib2Impl *typelib;
|
ICreateTypeLib2Impl *typelib;
|
||||||
MSFT_TypeInfoBase *typeinfo;
|
MSFT_TypeInfoBase *typeinfo;
|
||||||
|
|
Loading…
Reference in New Issue