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
dc4f752e
Commit
dc4f752e
authored
Oct 26, 2005
by
Uwe Bonnes
Committed by
Alexandre Julliard
Oct 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gcc 4 warnings.
parent
a4dfeca2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cap20wxx.c
dlls/capi2032/cap20wxx.c
+2
-2
No files found.
dlls/capi2032/cap20wxx.c
View file @
dc4f752e
...
...
@@ -184,7 +184,7 @@ DWORD WINAPI wrapCAPI_GET_MANUFACTURER (char *SzBuffer) {
if
(
!
pcapi20_get_manufacturer
)
return
0x1109
;
fret
=
(
pcapi20_get_manufacturer
(
0
,
SzBuffer
)
!=
0
)
?
0
:
0x1108
;
fret
=
(
pcapi20_get_manufacturer
(
0
,
(
unsigned
char
*
)
SzBuffer
)
!=
0
)
?
0
:
0x1108
;
if
(
!
strncmp
(
SzBuffer
,
"AVM"
,
3
))
{
strcpy
(
SzBuffer
,
"AVM-GmbH"
);
}
...
...
@@ -227,7 +227,7 @@ DWORD WINAPI wrapCAPI_GET_SERIAL_NUMBER (char *SzBuffer) {
load_functions
();
if
(
!
pcapi20_get_serial_number
)
return
0x1109
;
fret
=
(
pcapi20_get_serial_number
(
0
,
SzBuffer
)
!=
0
)
?
0
:
0x1108
;
fret
=
(
pcapi20_get_serial_number
(
0
,
(
unsigned
char
*
)
SzBuffer
)
!=
0
)
?
0
:
0x1108
;
TRACE
(
"(%s) -> %lx
\n
"
,
SzBuffer
,
fret
);
return
fret
;
#else
...
...
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