Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bda7ace2
Commit
bda7ace2
authored
Jul 13, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 13, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interlocked LONG* gcc warning fixes.
parent
8d63dfb7
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
43 additions
and
43 deletions
+43
-43
dplay.c
dlls/dplayx/dplay.c
+1
-1
dplay_global.h
dlls/dplayx/dplay_global.h
+2
-2
itss.c
dlls/itss/itss.c
+1
-1
moniker.c
dlls/itss/moniker.c
+1
-1
storage.c
dlls/itss/storage.c
+4
-4
pin.h
dlls/qcap/pin.h
+1
-1
enumfilters.c
dlls/quartz/enumfilters.c
+1
-1
enumregfilters.c
dlls/quartz/enumregfilters.c
+1
-1
filesource.c
dlls/quartz/filesource.c
+1
-1
filtermapper.c
dlls/quartz/filtermapper.c
+1
-1
pin.h
dlls/quartz/pin.h
+1
-1
rpc_binding.h
dlls/rpcrt4/rpc_binding.h
+1
-1
rpc_server.c
dlls/rpcrt4/rpc_server.c
+1
-1
shdocvw.h
dlls/shdocvw/shdocvw.h
+10
-10
shdocvw_main.c
dlls/shdocvw/shdocvw_main.c
+1
-1
clist.c
dlls/shlwapi/tests/clist.c
+1
-1
url.c
dlls/urlmon/tests/url.c
+1
-1
internet.c
dlls/wininet/internet.c
+3
-3
private_mciavi.h
dlls/winmm/mciavi/private_mciavi.h
+1
-1
mciwave.c
dlls/winmm/mciwave/mciwave.c
+1
-1
playsound.c
dlls/winmm/playsound.c
+1
-1
audio.c
dlls/winmm/winealsa/audio.c
+2
-2
winemm.h
dlls/winmm/winemm.h
+1
-1
dscapture.c
dlls/winmm/wineoss/dscapture.c
+4
-4
No files found.
dlls/dplayx/dplay.c
View file @
bda7ace2
...
...
@@ -227,7 +227,7 @@ static HRESULT DP_InitializeDPLSP( IDirectPlay3Impl* This, HMODULE hServiceProvi
/* Strip out all dwFlags values for CREATEPLAYER msg */
#define DPMSG_CREATEPLAYER_DWFLAGS(x) 0
static
DWORD
kludgePlayerGroupId
=
1000
;
static
LONG
kludgePlayerGroupId
=
1000
;
/* ------------------------------------------------------------------ */
...
...
dlls/dplayx/dplay_global.h
View file @
bda7ace2
...
...
@@ -45,7 +45,7 @@ typedef struct IDirectPlay4Impl IDirectPlay4Impl;
typedef
struct
tagDirectPlayIUnknownData
{
ULONG
ulObjRef
;
LONG
ulObjRef
;
CRITICAL_SECTION
DP_lock
;
}
DirectPlayIUnknownData
;
...
...
@@ -207,7 +207,7 @@ typedef struct tagDirectPlay4Data
}
DirectPlay4Data
;
#define DP_IMPL_FIELDS \
U
LONG ulInterfaceRef; \
LONG ulInterfaceRef; \
DirectPlayIUnknownData* unk; \
DirectPlay2Data* dp2; \
DirectPlay3Data* dp3; \
...
...
dlls/itss/itss.c
View file @
bda7ace2
...
...
@@ -51,7 +51,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(itss);
static
HRESULT
ITSS_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
U
LONG
dll_count
=
0
;
LONG
dll_count
=
0
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
lpv
)
{
...
...
dlls/itss/moniker.c
View file @
bda7ace2
...
...
@@ -44,7 +44,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
itss
);
extern
U
LONG
dll_count
;
extern
LONG
dll_count
;
/*****************************************************************************/
...
...
dlls/itss/storage.c
View file @
bda7ace2
...
...
@@ -45,14 +45,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
itss
);
extern
U
LONG
dll_count
;
extern
LONG
dll_count
;
/************************************************************************/
typedef
struct
_ITSS_IStorageImpl
{
const
IStorageVtbl
*
vtbl_IStorage
;
DWORD
ref
;
LONG
ref
;
struct
chmFile
*
chmfile
;
WCHAR
dir
[
1
];
}
ITSS_IStorageImpl
;
...
...
@@ -66,14 +66,14 @@ struct enum_info
typedef
struct
_IEnumSTATSTG_Impl
{
const
IEnumSTATSTGVtbl
*
vtbl_IEnumSTATSTG
;
DWORD
ref
;
LONG
ref
;
struct
enum_info
*
first
,
*
last
,
*
current
;
}
IEnumSTATSTG_Impl
;
typedef
struct
_IStream_Impl
{
const
IStreamVtbl
*
vtbl_IStream
;
DWORD
ref
;
LONG
ref
;
ITSS_IStorageImpl
*
stg
;
ULONGLONG
addr
;
struct
chmUnitInfo
ui
;
...
...
dlls/qcap/pin.h
View file @
bda7ace2
...
...
@@ -38,7 +38,7 @@ typedef HRESULT (* PRECONNECTPROC)(IPin * iface, IPin * pConnectPin);
typedef
struct
IPinImpl
{
const
struct
IPinVtbl
*
lpVtbl
;
U
LONG
refCount
;
LONG
refCount
;
LPCRITICAL_SECTION
pCritSec
;
PIN_INFO
pinInfo
;
IPin
*
pConnectedTo
;
...
...
dlls/quartz/enumfilters.c
View file @
bda7ace2
...
...
@@ -27,7 +27,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(quartz);
typedef
struct
IEnumFiltersImpl
{
const
IEnumFiltersVtbl
*
lpVtbl
;
U
LONG
refCount
;
LONG
refCount
;
IBaseFilter
**
ppFilters
;
int
nFilters
;
ULONG
uIndex
;
...
...
dlls/quartz/enumregfilters.c
View file @
bda7ace2
...
...
@@ -29,7 +29,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(quartz);
typedef
struct
IEnumRegFiltersImpl
{
const
IEnumRegFiltersVtbl
*
lpVtbl
;
U
LONG
refCount
;
LONG
refCount
;
ULONG
size
;
REGFILTER
*
RegFilters
;
ULONG
uIndex
;
...
...
dlls/quartz/filesource.c
View file @
bda7ace2
...
...
@@ -42,7 +42,7 @@ typedef struct AsyncReader
const
IBaseFilterVtbl
*
lpVtbl
;
const
IFileSourceFilterVtbl
*
lpVtblFSF
;
U
LONG
refCount
;
LONG
refCount
;
FILTER_INFO
filterInfo
;
FILTER_STATE
state
;
CRITICAL_SECTION
csFilter
;
...
...
dlls/quartz/filtermapper.c
View file @
bda7ace2
...
...
@@ -46,7 +46,7 @@ typedef struct FilterMapper2Impl
{
const
IFilterMapper2Vtbl
*
lpVtbl
;
const
IFilterMapperVtbl
*
lpVtblFilterMapper
;
U
LONG
refCount
;
LONG
refCount
;
}
FilterMapper2Impl
;
static
const
IFilterMapper2Vtbl
fm2vtbl
;
...
...
dlls/quartz/pin.h
View file @
bda7ace2
...
...
@@ -38,7 +38,7 @@ typedef HRESULT (* PRECONNECTPROC)(IPin * iface, IPin * pConnectPin);
typedef
struct
IPinImpl
{
const
struct
IPinVtbl
*
lpVtbl
;
U
LONG
refCount
;
LONG
refCount
;
LPCRITICAL_SECTION
pCritSec
;
PIN_INFO
pinInfo
;
IPin
*
pConnectedTo
;
...
...
dlls/rpcrt4/rpc_binding.h
View file @
bda7ace2
...
...
@@ -41,7 +41,7 @@ typedef struct _RpcConnection
/* don't know what MS's structure looks like */
typedef
struct
_RpcBinding
{
DWORD
refs
;
LONG
refs
;
struct
_RpcBinding
*
Next
;
BOOL
server
;
UUID
ObjectUuid
;
...
...
dlls/rpcrt4/rpc_server.c
View file @
bda7ace2
...
...
@@ -117,7 +117,7 @@ static RpcPacket* spacket_head;
static
RpcPacket
*
spacket_tail
;
static
HANDLE
server_sem
;
static
DWORD
worker_count
,
worker_free
,
worker_tls
;
static
LONG
worker_count
,
worker_free
,
worker_tls
;
static
UUID
uuid_nil
;
...
...
dlls/shdocvw/shdocvw.h
View file @
bda7ace2
...
...
@@ -42,7 +42,7 @@ typedef struct
{
/* IUnknown fields */
const
IClassFactoryVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IClassFactoryImpl
;
extern
IClassFactoryImpl
SHDOCVW_ClassFactory
;
...
...
@@ -55,7 +55,7 @@ typedef struct
{
/* IUnknown fields */
const
IOleObjectVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IOleObjectImpl
;
extern
IOleObjectImpl
SHDOCVW_OleObject
;
...
...
@@ -67,7 +67,7 @@ typedef struct
{
/* IUnknown fields */
const
IWebBrowserVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IWebBrowserImpl
;
extern
IWebBrowserImpl
SHDOCVW_WebBrowser
;
...
...
@@ -80,7 +80,7 @@ typedef struct
{
/* IUnknown fields */
const
IProvideClassInfoVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IProvideClassInfoImpl
;
extern
IProvideClassInfoImpl
SHDOCVW_ProvideClassInfo
;
...
...
@@ -93,7 +93,7 @@ typedef struct
{
/* IUnknown fields */
const
IProvideClassInfo2Vtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IProvideClassInfo2Impl
;
extern
IProvideClassInfo2Impl
SHDOCVW_ProvideClassInfo2
;
...
...
@@ -106,7 +106,7 @@ typedef struct
{
/* IUnknown fields */
const
IPersistStorageVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IPersistStorageImpl
;
extern
IPersistStorageImpl
SHDOCVW_PersistStorage
;
...
...
@@ -119,7 +119,7 @@ typedef struct
{
/* IUnknown fields */
const
IPersistStreamInitVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IPersistStreamInitImpl
;
extern
IPersistStreamInitImpl
SHDOCVW_PersistStreamInit
;
...
...
@@ -132,7 +132,7 @@ typedef struct
{
/* IUnknown fields */
const
IQuickActivateVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IQuickActivateImpl
;
extern
IQuickActivateImpl
SHDOCVW_QuickActivate
;
...
...
@@ -145,7 +145,7 @@ typedef struct
{
/* IUnknown fields */
const
IConnectionPointContainerVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IConnectionPointContainerImpl
;
extern
IConnectionPointContainerImpl
SHDOCVW_ConnectionPointContainer
;
...
...
@@ -158,7 +158,7 @@ typedef struct
{
/* IUnknown fields */
const
IConnectionPointVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
}
IConnectionPointImpl
;
/**********************************************************************
...
...
dlls/shdocvw/shdocvw_main.c
View file @
bda7ace2
...
...
@@ -152,7 +152,7 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/
typedef
struct
_IBindStatusCallbackImpl
{
const
IBindStatusCallbackVtbl
*
vtbl
;
DWORD
ref
;
LONG
ref
;
HWND
hDialog
;
BOOL
*
pbCancelled
;
}
IBindStatusCallbackImpl
;
...
...
dlls/shlwapi/tests/clist.c
View file @
bda7ace2
...
...
@@ -53,7 +53,7 @@ static const SHLWAPI_CLIST SHLWAPI_CLIST_items[] =
typedef
struct
{
void
*
lpVtbl
;
ULONG
ref
;
LONG
ref
;
int
readcalls
;
BOOL
failreadcall
;
BOOL
failreadsize
;
...
...
dlls/urlmon/tests/url.c
View file @
bda7ace2
...
...
@@ -59,7 +59,7 @@ static void test_create(void)
typedef
struct
{
const
IBindStatusCallbackVtbl
*
lpVtbl
;
U
LONG
ref
;
LONG
ref
;
IBinding
*
pbind
;
IStream
*
pstr
;
}
statusclb
;
...
...
dlls/wininet/internet.c
View file @
bda7ace2
...
...
@@ -91,9 +91,9 @@ HINTERNET WINAPI INTERNET_InternetOpenUrlW(LPWININETAPPINFOW hIC, LPCWSTR lpszUr
static
VOID
INTERNET_ExecuteWork
(
void
);
static
DWORD
g_dwTlsErrIndex
=
TLS_OUT_OF_INDEXES
;
static
DWORD
dwNumThreads
;
static
DWORD
dwNumIdleThreads
;
static
DWORD
dwNumJobs
;
static
LONG
dwNumThreads
;
static
LONG
dwNumIdleThreads
;
static
LONG
dwNumJobs
;
static
HANDLE
hEventArray
[
2
];
#define hQuitEvent hEventArray[0]
#define hWorkEvent hEventArray[1]
...
...
dlls/winmm/mciavi/private_mciavi.h
View file @
bda7ace2
...
...
@@ -71,7 +71,7 @@ typedef struct {
/* data for playing the audio part */
HANDLE
hWave
;
HANDLE
hEvent
;
/* for synchronization */
DWORD
dwEventCount
;
/* for synchronization */
LONG
dwEventCount
;
/* for synchronization */
/* data for play back */
HWND
hWnd
,
hWndPaint
;
DWORD
dwCachedFrame
;
/* buffered frame */
...
...
dlls/winmm/mciwave/mciwave.c
View file @
bda7ace2
...
...
@@ -50,7 +50,7 @@ typedef struct {
DWORD
dwMciTimeFormat
;
/* One of the supported MCI_FORMAT_xxxx */
DWORD
dwPosition
;
/* position in bytes in chunk */
HANDLE
hEvent
;
/* for synchronization */
DWORD
dwEventCount
;
/* for synchronization */
LONG
dwEventCount
;
/* for synchronization */
BOOL
bTemporaryFile
;
/* temporary file (MCI_RECORD) */
MMCKINFO
ckMainRIFF
;
/* main RIFF chunk */
MMCKINFO
ckWaveData
;
/* data chunk */
...
...
dlls/winmm/playsound.c
View file @
bda7ace2
...
...
@@ -140,7 +140,7 @@ static HMMIO get_mmioFromProfile(UINT uFlags, LPCWSTR lpszName)
struct
playsound_data
{
HANDLE
hEvent
;
DWORD
dwEventCount
;
LONG
dwEventCount
;
};
static
void
CALLBACK
PlaySound_Callback
(
HWAVEOUT
hwo
,
UINT
uMsg
,
...
...
dlls/winmm/winealsa/audio.c
View file @
bda7ace2
...
...
@@ -3039,7 +3039,7 @@ struct IDsDriverImpl
{
/* IUnknown fields */
const
IDsDriverVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsDriverImpl fields */
UINT
wDevID
;
IDsDriverBufferImpl
*
primary
;
...
...
@@ -3049,7 +3049,7 @@ struct IDsDriverBufferImpl
{
/* IUnknown fields */
const
IDsDriverBufferVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsDriverBufferImpl fields */
IDsDriverImpl
*
drv
;
...
...
dlls/winmm/winemm.h
View file @
bda7ace2
...
...
@@ -132,7 +132,7 @@ typedef struct {
DWORD
dwThreadID
;
/* 0C */
DWORD
fpThread
;
/* 10 address of thread proc (segptr or lin depending on dwFlags) */
DWORD
dwThreadPmt
;
/* 14 parameter to be passed upon thread creation to fpThread */
DWORD
dwSignalCount
;
/* 18 counter used for signaling */
LONG
dwSignalCount
;
/* 18 counter used for signaling */
HANDLE
hEvent
;
/* 1C event */
HANDLE
hVxD
;
/* 20 return from OpenVxDHandle */
DWORD
dwStatus
;
/* 24 0x00, 0x10, 0x20, 0x30 */
...
...
dlls/winmm/wineoss/dscapture.c
View file @
bda7ace2
...
...
@@ -74,7 +74,7 @@ struct IDsCaptureDriverPropertySetImpl
{
/* IUnknown fields */
const
IDsDriverPropertySetVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
IDsCaptureDriverBufferImpl
*
capture_buffer
;
};
...
...
@@ -83,7 +83,7 @@ struct IDsCaptureDriverNotifyImpl
{
/* IUnknown fields */
const
IDsDriverNotifyVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
IDsCaptureDriverBufferImpl
*
capture_buffer
;
};
...
...
@@ -92,7 +92,7 @@ struct IDsCaptureDriverImpl
{
/* IUnknown fields */
const
IDsCaptureDriverVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsCaptureDriverImpl fields */
UINT
wDevID
;
...
...
@@ -103,7 +103,7 @@ struct IDsCaptureDriverBufferImpl
{
/* IUnknown fields */
const
IDsCaptureDriverBufferVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsCaptureDriverBufferImpl fields */
IDsCaptureDriverImpl
*
drv
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment