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
68ca61a5
Commit
68ca61a5
authored
Sep 16, 2020
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix count parameter type in printf functions family.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d49d334
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
msvcrt.h
dlls/msvcrt/msvcrt.h
+2
-2
wcs.c
dlls/msvcrt/wcs.c
+7
-7
No files found.
dlls/msvcrt/msvcrt.h
View file @
68ca61a5
...
...
@@ -1117,9 +1117,9 @@ int WINAPIV MSVCRT_fwprintf(MSVCRT_FILE *file, const MSVCRT_wchar_t *
int
__cdecl
MSVCRT_vsnprintf
(
char
*
str
,
MSVCRT_size_t
len
,
const
char
*
format
,
__ms_va_list
valist
);
int
__cdecl
MSVCRT_vsnwprintf
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
len
,
const
MSVCRT_wchar_t
*
format
,
__ms_va_list
valist
);
int
WINAPIV
MSVCRT__snwprintf
(
MSVCRT_wchar_t
*
,
unsigned
in
t
,
const
MSVCRT_wchar_t
*
,
...);
int
WINAPIV
MSVCRT__snwprintf
(
MSVCRT_wchar_t
*
,
MSVCRT_size_
t
,
const
MSVCRT_wchar_t
*
,
...);
int
WINAPIV
MSVCRT_sprintf
(
char
*
,
const
char
*
,...);
int
WINAPIV
MSVCRT__snprintf
(
char
*
,
unsigned
in
t
,
const
char
*
,...);
int
WINAPIV
MSVCRT__snprintf
(
char
*
,
MSVCRT_size_
t
,
const
char
*
,...);
int
WINAPIV
MSVCRT__scprintf
(
const
char
*
,...);
int
__cdecl
MSVCRT_raise
(
int
sig
);
int
__cdecl
MSVCRT__set_printf_count_output
(
int
);
...
...
dlls/msvcrt/wcs.c
View file @
68ca61a5
...
...
@@ -1152,7 +1152,7 @@ int CDECL MSVCRT__vscprintf_p(const char *format, __ms_va_list argptr)
/*********************************************************************
* _snprintf (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snprintf
(
char
*
str
,
unsigned
in
t
len
,
const
char
*
format
,
...)
int
WINAPIV
MSVCRT__snprintf
(
char
*
str
,
MSVCRT_size_
t
len
,
const
char
*
format
,
...)
{
int
retval
;
__ms_va_list
valist
;
...
...
@@ -1165,7 +1165,7 @@ int WINAPIV MSVCRT__snprintf(char *str, unsigned int len, const char *format, ..
/*********************************************************************
* _snprintf_l (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snprintf_l
(
char
*
str
,
unsigned
in
t
count
,
MSVCRT__locale_t
locale
,
int
WINAPIV
MSVCRT__snprintf_l
(
char
*
str
,
MSVCRT_size_
t
count
,
MSVCRT__locale_t
locale
,
const
char
*
format
,
...)
{
int
retval
;
...
...
@@ -1179,7 +1179,7 @@ int WINAPIV MSVCRT__snprintf_l(char *str, unsigned int count, MSVCRT__locale_t l
/*********************************************************************
* _snprintf_s (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snprintf_s
(
char
*
str
,
unsigned
int
len
,
unsigned
in
t
count
,
int
WINAPIV
MSVCRT__snprintf_s
(
char
*
str
,
MSVCRT_size_t
len
,
MSVCRT_size_
t
count
,
const
char
*
format
,
...)
{
int
retval
;
...
...
@@ -1339,7 +1339,7 @@ int CDECL MSVCRT_vsnwprintf_s(MSVCRT_wchar_t *str, MSVCRT_size_t sizeOfBuffer,
/*********************************************************************
* _snwprintf (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snwprintf
(
MSVCRT_wchar_t
*
str
,
unsigned
in
t
len
,
const
MSVCRT_wchar_t
*
format
,
...)
int
WINAPIV
MSVCRT__snwprintf
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_
t
len
,
const
MSVCRT_wchar_t
*
format
,
...)
{
int
retval
;
__ms_va_list
valist
;
...
...
@@ -1352,7 +1352,7 @@ int WINAPIV MSVCRT__snwprintf( MSVCRT_wchar_t *str, unsigned int len, const MSVC
/*********************************************************************
* _snwprintf_l (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snwprintf_l
(
MSVCRT_wchar_t
*
str
,
unsigned
in
t
len
,
const
MSVCRT_wchar_t
*
format
,
int
WINAPIV
MSVCRT__snwprintf_l
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_
t
len
,
const
MSVCRT_wchar_t
*
format
,
MSVCRT__locale_t
locale
,
...)
{
int
retval
;
...
...
@@ -1366,7 +1366,7 @@ int WINAPIV MSVCRT__snwprintf_l( MSVCRT_wchar_t *str, unsigned int len, const MS
/*********************************************************************
* _snwprintf_s (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snwprintf_s
(
MSVCRT_wchar_t
*
str
,
unsigned
int
len
,
unsigned
in
t
count
,
int
WINAPIV
MSVCRT__snwprintf_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
len
,
MSVCRT_size_
t
count
,
const
MSVCRT_wchar_t
*
format
,
...)
{
int
retval
;
...
...
@@ -1380,7 +1380,7 @@ int WINAPIV MSVCRT__snwprintf_s( MSVCRT_wchar_t *str, unsigned int len, unsigned
/*********************************************************************
* _snwprintf_s_l (MSVCRT.@)
*/
int
WINAPIV
MSVCRT__snwprintf_s_l
(
MSVCRT_wchar_t
*
str
,
unsigned
int
len
,
unsigned
in
t
count
,
int
WINAPIV
MSVCRT__snwprintf_s_l
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
len
,
MSVCRT_size_
t
count
,
const
MSVCRT_wchar_t
*
format
,
MSVCRT__locale_t
locale
,
...
)
{
int
retval
;
...
...
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