Commit fc200d0c authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Interlocked LONG* gcc warning fixes.

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