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
d537d09b
Commit
d537d09b
authored
Jan 22, 2001
by
James Juran
Committed by
Alexandre Julliard
Jan 22, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use int instead of WCHAR in va_arg() (fixes gcc-current compilation
problem).
parent
f12dbd0f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+1
-1
wcstring.c
dlls/ntdll/wcstring.c
+1
-1
No files found.
dlls/msvcrt/wcs.c
View file @
d537d09b
...
@@ -181,7 +181,7 @@ int __cdecl MSVCRT__vsnwprintf(WCHAR *str, unsigned int len,
...
@@ -181,7 +181,7 @@ int __cdecl MSVCRT__vsnwprintf(WCHAR *str, unsigned int len,
case
(
WCHAR
)
L'c'
:
case
(
WCHAR
)
L'c'
:
if
(
written
++
>=
len
)
if
(
written
++
>=
len
)
return
-
1
;
return
-
1
;
*
str
++
=
va_arg
(
valist
,
WCHAR
);
*
str
++
=
(
WCHAR
)
va_arg
(
valist
,
int
);
iter
++
;
iter
++
;
break
;
break
;
...
...
dlls/ntdll/wcstring.c
View file @
d537d09b
...
@@ -429,7 +429,7 @@ static int __cdecl NTDLL_vsnwprintf(WCHAR *str, unsigned int len,
...
@@ -429,7 +429,7 @@ static int __cdecl NTDLL_vsnwprintf(WCHAR *str, unsigned int len,
case
(
WCHAR
)
L'c'
:
case
(
WCHAR
)
L'c'
:
if
(
written
++
>=
len
)
if
(
written
++
>=
len
)
return
-
1
;
return
-
1
;
*
str
++
=
va_arg
(
valist
,
WCHAR
);
*
str
++
=
(
WCHAR
)
va_arg
(
valist
,
int
);
iter
++
;
iter
++
;
break
;
break
;
...
...
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