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
70642e25
Commit
70642e25
authored
Jul 31, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound/tests: Write-strings warning fix.
parent
447721e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dsound8.c
dlls/dsound/tests/dsound8.c
+2
-1
No files found.
dlls/dsound/tests/dsound8.c
View file @
70642e25
...
...
@@ -806,6 +806,7 @@ static void dsound8_tests(void)
const
char
*
get_file_version
(
const
char
*
file_name
)
{
static
char
version
[
32
];
static
char
backslash
[]
=
"
\\
"
;
DWORD
size
;
DWORD
handle
;
...
...
@@ -816,7 +817,7 @@ const char * get_file_version(const char * file_name)
if
(
GetFileVersionInfoA
(
"dsound.dll"
,
handle
,
size
,
data
))
{
VS_FIXEDFILEINFO
*
pFixedVersionInfo
;
UINT
len
;
if
(
VerQueryValueA
(
data
,
"
\\
"
,
(
LPVOID
*
)
&
pFixedVersionInfo
,
&
len
))
{
if
(
VerQueryValueA
(
data
,
backslash
,
(
LPVOID
*
)
&
pFixedVersionInfo
,
&
len
))
{
sprintf
(
version
,
"%ld.%ld.%ld.%ld"
,
pFixedVersionInfo
->
dwFileVersionMS
>>
16
,
pFixedVersionInfo
->
dwFileVersionMS
&
0xffff
,
...
...
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