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
d1162078
Commit
d1162078
authored
Mar 04, 2015
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: mmioAdvance() returns a MMRESULT and not a size (PVS-Studio).
parent
c2eb206f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mmio.c
dlls/winmm/tests/mmio.c
+2
-1
No files found.
dlls/winmm/tests/mmio.c
View file @
d1162078
...
...
@@ -870,7 +870,8 @@ static void test_mmio_buffer_pointer(void)
ok
(
mmio
.
pchEndRead
==
mmio
.
pchBuffer
,
"expected %p, got %p
\n
"
,
mmio
.
pchBuffer
,
mmio
.
pchEndRead
);
/* fill the buffer */
size
=
mmioAdvance
(
hmmio
,
&
mmio
,
MMIO_READ
);
res
=
mmioAdvance
(
hmmio
,
&
mmio
,
MMIO_READ
);
ok
(
res
==
MMSYSERR_NOERROR
,
"mmioAdvance failed %x
\n
"
,
res
);
ok
(
mmio
.
pchEndRead
-
mmio
.
pchBuffer
==
sizeof
(
buffer
),
"got %d
\n
"
,
(
int
)(
mmio
.
pchEndRead
-
mmio
.
pchBuffer
));
/* seeking to the same buffer chunk, the buffer is kept */
...
...
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