Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
723b884b
Commit
723b884b
authored
Oct 05, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm32/tests: Win64 printf format warning fixes.
parent
a3a12dff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/msacm32/tests/Makefile.in
+0
-1
msacm.c
dlls/msacm32/tests/msacm.c
+6
-6
No files found.
dlls/msacm32/tests/Makefile.in
View file @
723b884b
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
msacm32.dll
TESTDLL
=
msacm32.dll
IMPORTS
=
msacm32 kernel32
IMPORTS
=
msacm32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
CTESTS
=
\
CTESTS
=
\
msacm.c
msacm.c
...
...
dlls/msacm32/tests/msacm.c
View file @
723b884b
...
@@ -38,7 +38,7 @@ static BOOL CALLBACK FormatTagEnumProc(HACMDRIVERID hadid,
...
@@ -38,7 +38,7 @@ static BOOL CALLBACK FormatTagEnumProc(HACMDRIVERID hadid,
DWORD
fdwSupport
)
DWORD
fdwSupport
)
{
{
if
(
winetest_interactive
)
if
(
winetest_interactive
)
trace
(
" Format 0x%04
l
x: %s
\n
"
,
paftd
->
dwFormatTag
,
paftd
->
szFormatTag
);
trace
(
" Format 0x%04x: %s
\n
"
,
paftd
->
dwFormatTag
,
paftd
->
szFormatTag
);
return
TRUE
;
return
TRUE
;
}
}
...
@@ -49,7 +49,7 @@ static BOOL CALLBACK FormatEnumProc(HACMDRIVERID hadid,
...
@@ -49,7 +49,7 @@ static BOOL CALLBACK FormatEnumProc(HACMDRIVERID hadid,
DWORD
fd
)
DWORD
fd
)
{
{
if
(
winetest_interactive
)
if
(
winetest_interactive
)
trace
(
" 0x%04
l
x, %s
\n
"
,
pafd
->
dwFormatTag
,
pafd
->
szFormat
);
trace
(
" 0x%04x, %s
\n
"
,
pafd
->
dwFormatTag
,
pafd
->
szFormat
);
return
TRUE
;
return
TRUE
;
}
}
...
@@ -128,7 +128,7 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
...
@@ -128,7 +128,7 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
*/
*/
if
(
rc
==
MMSYSERR_NOERROR
)
{
if
(
rc
==
MMSYSERR_NOERROR
)
{
ok
(
dd
.
cbStruct
==
sizeof
(
dd
),
ok
(
dd
.
cbStruct
==
sizeof
(
dd
),
"acmDriverDetails(): cbStruct = %08
l
x, should be %08lx
\n
"
,
"acmDriverDetails(): cbStruct = %08x, should be %08lx
\n
"
,
dd
.
cbStruct
,
(
unsigned
long
)
sizeof
(
dd
));
dd
.
cbStruct
,
(
unsigned
long
)
sizeof
(
dd
));
}
}
...
@@ -138,8 +138,8 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
...
@@ -138,8 +138,8 @@ static BOOL CALLBACK DriverEnumProc(HACMDRIVERID hadid,
trace
(
" Copyright: %s
\n
"
,
dd
.
szCopyright
);
trace
(
" Copyright: %s
\n
"
,
dd
.
szCopyright
);
trace
(
" Licensing: %s
\n
"
,
dd
.
szLicensing
);
trace
(
" Licensing: %s
\n
"
,
dd
.
szLicensing
);
trace
(
" Features: %s
\n
"
,
dd
.
szFeatures
);
trace
(
" Features: %s
\n
"
,
dd
.
szFeatures
);
trace
(
" Supports %
l
u formats
\n
"
,
dd
.
cFormatTags
);
trace
(
" Supports %u formats
\n
"
,
dd
.
cFormatTags
);
trace
(
" Supports %
l
u filter formats
\n
"
,
dd
.
cFilterTags
);
trace
(
" Supports %u filter formats
\n
"
,
dd
.
cFilterTags
);
}
}
/* try bad pointer */
/* try bad pointer */
...
@@ -453,7 +453,7 @@ static DWORD check_count(UINT uMetric)
...
@@ -453,7 +453,7 @@ static DWORD check_count(UINT uMetric)
ok
(
rc
==
MMSYSERR_NOERROR
,
"acmMetrics() failed: rc = 0x%08x
\n
"
,
rc
);
ok
(
rc
==
MMSYSERR_NOERROR
,
"acmMetrics() failed: rc = 0x%08x
\n
"
,
rc
);
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
if
(
rc
==
MMSYSERR_NOERROR
&&
winetest_interactive
)
trace
(
"%s: %
l
u
\n
"
,
get_metric
(
uMetric
),
dwMetric
);
trace
(
"%s: %u
\n
"
,
get_metric
(
uMetric
),
dwMetric
);
return
dwMetric
;
return
dwMetric
;
}
}
...
...
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