gcc 4.0 warning fixes for Interlocked* functions.
This commit is contained in:
parent
d708acd979
commit
50a6d970f5
|
@ -617,7 +617,7 @@ typedef struct
|
|||
{
|
||||
/* IUnknown fields */
|
||||
const IClassFactoryVtbl *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
} IClassFactoryImpl;
|
||||
|
||||
static HRESULT WINAPI DICF_QueryInterface(LPCLASSFACTORY iface,REFIID riid,LPVOID *ppobj) {
|
||||
|
|
|
@ -30,7 +30,7 @@ typedef struct IDirectInputImpl IDirectInputImpl;
|
|||
struct IDirectInputImpl
|
||||
{
|
||||
const void *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
|
||||
/* Used to have an unique sequence number for all the events */
|
||||
DWORD evsequence;
|
||||
|
|
|
@ -89,7 +89,7 @@ static const IDirectInputDevice8WVtbl JoystickWvt;
|
|||
struct JoystickImpl
|
||||
{
|
||||
const void *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
GUID guid;
|
||||
char dev[32];
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ typedef struct SysKeyboardImpl SysKeyboardImpl;
|
|||
struct SysKeyboardImpl
|
||||
{
|
||||
const void *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
GUID guid;
|
||||
|
||||
IDirectInputImpl* dinput;
|
||||
|
@ -87,7 +87,7 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
|
|||
};
|
||||
static CRITICAL_SECTION keyboard_crit = { &critsect_debug, -1, 0, 0, 0, 0 };
|
||||
|
||||
static DWORD keyboard_users = 0;
|
||||
static LONG keyboard_users = 0;
|
||||
static HHOOK keyboard_hook = NULL;
|
||||
|
||||
LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam )
|
||||
|
|
|
@ -109,7 +109,7 @@ typedef enum {
|
|||
struct SysMouseImpl
|
||||
{
|
||||
const void *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
GUID guid;
|
||||
|
||||
IDirectInputImpl *dinput;
|
||||
|
|
|
@ -46,7 +46,7 @@ typedef struct IDxDiagContainerImpl IDxDiagContainerImpl;
|
|||
struct IDxDiagProviderImpl {
|
||||
/* IUnknown fields */
|
||||
const IDxDiagProviderVtbl *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
/* IDxDiagProvider fields */
|
||||
BOOL init;
|
||||
DXDIAG_INIT_PARAMS params;
|
||||
|
@ -85,7 +85,7 @@ typedef struct IDxDiagContainerImpl_Property {
|
|||
struct IDxDiagContainerImpl {
|
||||
/* IUnknown fields */
|
||||
const IDxDiagContainerVtbl *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
/* IDxDiagContainer fields */
|
||||
IDxDiagContainerImpl_Property* properties;
|
||||
IDxDiagContainerImpl_SubContainer* subContainers;
|
||||
|
|
|
@ -78,7 +78,7 @@ BOOL HAVE_OLEAUT32_INT_PTR;
|
|||
typedef struct IRecordInfoImpl
|
||||
{
|
||||
const IRecordInfoVtbl *lpvtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
DWORD sizeCalled;
|
||||
DWORD clearCalled;
|
||||
} IRecordInfoImpl;
|
||||
|
|
|
@ -511,7 +511,7 @@ typedef struct tagINTERNAL_BSTR
|
|||
typedef struct
|
||||
{
|
||||
const IDispatchVtbl *lpVtbl;
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
VARTYPE vt;
|
||||
BOOL bFailInvoke;
|
||||
} DummyDispatch;
|
||||
|
|
|
@ -33,7 +33,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(quartz);
|
|||
typedef struct EnumMonikerImpl
|
||||
{
|
||||
const IEnumMonikerVtbl *lpVtbl;
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
IMoniker ** ppMoniker;
|
||||
ULONG nMonikerCount;
|
||||
ULONG index;
|
||||
|
|
|
@ -37,7 +37,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
|
|||
|
||||
typedef struct IRichEditOleImpl {
|
||||
const IRichEditOleVtbl *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
} IRichEditOleImpl;
|
||||
|
||||
/* there is no way to be consistent across different sets of headers - mingw, Wine, Win32 SDK*/
|
||||
|
|
|
@ -922,7 +922,7 @@ typedef struct _WineD3D_GLContext {
|
|||
XVisualInfo* visInfo;
|
||||
Display* display;
|
||||
Drawable drawable;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
} WineD3D_Context;
|
||||
|
||||
#endif /* HAVE_OPENGL */
|
||||
|
|
Loading…
Reference in New Issue