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
f9d2b85e
Commit
f9d2b85e
authored
May 21, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciwave: Avoid using long.
parent
5b9fb3c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mciwave.c
dlls/mciwave/mciwave.c
+2
-2
No files found.
dlls/mciwave/mciwave.c
View file @
f9d2b85e
...
@@ -277,7 +277,7 @@ static DWORD WAVE_ConvertTimeFormatToByte(WINE_MCIWAVE* wmw, DWORD val)
...
@@ -277,7 +277,7 @@ static DWORD WAVE_ConvertTimeFormatToByte(WINE_MCIWAVE* wmw, DWORD val)
static
DWORD
WAVE_mciReadFmt
(
WINE_MCIWAVE
*
wmw
,
const
MMCKINFO
*
pckMainRIFF
)
static
DWORD
WAVE_mciReadFmt
(
WINE_MCIWAVE
*
wmw
,
const
MMCKINFO
*
pckMainRIFF
)
{
{
MMCKINFO
mmckInfo
;
MMCKINFO
mmckInfo
;
long
r
;
LONG
r
;
LPWAVEFORMATEX
pwfx
;
LPWAVEFORMATEX
pwfx
;
mmckInfo
.
ckid
=
mmioFOURCC
(
'f'
,
'm'
,
't'
,
' '
);
mmckInfo
.
ckid
=
mmioFOURCC
(
'f'
,
'm'
,
't'
,
' '
);
...
@@ -300,7 +300,7 @@ static DWORD WAVE_mciReadFmt(WINE_MCIWAVE* wmw, const MMCKINFO* pckMainRIFF)
...
@@ -300,7 +300,7 @@ static DWORD WAVE_mciReadFmt(WINE_MCIWAVE* wmw, const MMCKINFO* pckMainRIFF)
TRACE
(
"nAvgBytesPerSec=%d
\n
"
,
pwfx
->
nAvgBytesPerSec
);
TRACE
(
"nAvgBytesPerSec=%d
\n
"
,
pwfx
->
nAvgBytesPerSec
);
TRACE
(
"nBlockAlign=%d
\n
"
,
pwfx
->
nBlockAlign
);
TRACE
(
"nBlockAlign=%d
\n
"
,
pwfx
->
nBlockAlign
);
TRACE
(
"wBitsPerSample=%u !
\n
"
,
pwfx
->
wBitsPerSample
);
TRACE
(
"wBitsPerSample=%u !
\n
"
,
pwfx
->
wBitsPerSample
);
if
(
r
>=
(
long
)
sizeof
(
WAVEFORMATEX
))
if
(
r
>=
sizeof
(
WAVEFORMATEX
))
TRACE
(
"cbSize=%u !
\n
"
,
pwfx
->
cbSize
);
TRACE
(
"cbSize=%u !
\n
"
,
pwfx
->
cbSize
);
if
((
pwfx
->
wFormatTag
!=
WAVE_FORMAT_PCM
)
if
((
pwfx
->
wFormatTag
!=
WAVE_FORMAT_PCM
)
&&
(
r
<
sizeof
(
WAVEFORMATEX
)
||
(
r
<
sizeof
(
WAVEFORMATEX
)
+
pwfx
->
cbSize
)))
{
&&
(
r
<
sizeof
(
WAVEFORMATEX
)
||
(
r
<
sizeof
(
WAVEFORMATEX
)
+
pwfx
->
cbSize
)))
{
...
...
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