From fc200d0ca74ed6d5044af2d806422820181a83b4 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 11 Jul 2005 10:25:19 +0000 Subject: [PATCH] Interlocked LONG* gcc warning fixes. --- dlls/oleaut32/connpt.c | 4 ++-- dlls/oleaut32/dispatch.c | 2 +- dlls/oleaut32/olefont.c | 4 ++-- dlls/oleaut32/olepicture.c | 4 ++-- dlls/oleaut32/recinfo.c | 2 +- dlls/oleaut32/tmarshal.c | 4 ++-- dlls/oleaut32/typelib.c | 4 ++-- dlls/oleaut32/typelib2.c | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/dlls/oleaut32/connpt.c b/dlls/oleaut32/connpt.c index f13bd6784ff..da0ffcc40e9 100644 --- a/dlls/oleaut32/connpt.c +++ b/dlls/oleaut32/connpt.c @@ -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; diff --git a/dlls/oleaut32/dispatch.c b/dlls/oleaut32/dispatch.c index fd9d7b2c4d9..fbee4d8f09b 100644 --- a/dlls/oleaut32/dispatch.c +++ b/dlls/oleaut32/dispatch.c @@ -217,7 +217,7 @@ typedef struct const IDispatchVtbl *lpVtbl; void * pvThis; ITypeInfo * pTypeInfo; - ULONG ref; + LONG ref; } StdDispatch; /****************************************************************************** diff --git a/dlls/oleaut32/olefont.c b/dlls/oleaut32/olefont.c index 2e6395ac8eb..0fce581c084 100644 --- a/dlls/oleaut32/olefont.c +++ b/dlls/oleaut32/olefont.c @@ -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 diff --git a/dlls/oleaut32/olepicture.c b/dlls/oleaut32/olepicture.c index 6d404037013..c8a012019be 100644 --- a/dlls/oleaut32/olepicture.c +++ b/dlls/oleaut32/olepicture.c @@ -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 diff --git a/dlls/oleaut32/recinfo.c b/dlls/oleaut32/recinfo.c index 2ed6667f281..47c8bd734dc 100644 --- a/dlls/oleaut32/recinfo.c +++ b/dlls/oleaut32/recinfo.c @@ -42,7 +42,7 @@ typedef struct { typedef struct { const IRecordInfoVtbl *lpVtbl; - ULONG ref; + LONG ref; GUID guid; UINT lib_index; diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 77c49aeca8b..e5fc8dd9b88 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -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; diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 630c3cc5568..b1a8c095bb5 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -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; */ diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c index b1e793345a6..ffc5b88d797 100644 --- a/dlls/oleaut32/typelib2.c +++ b/dlls/oleaut32/typelib2.c @@ -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;