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
e7c9e32d
Commit
e7c9e32d
authored
Jan 21, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp110: Fix sprintf argument size in num_put::do_put_double.
parent
76db3b0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
locale.c
dlls/msvcp90/locale.c
+8
-5
No files found.
dlls/msvcp90/locale.c
View file @
e7c9e32d
...
...
@@ -7350,9 +7350,12 @@ ostreambuf_iterator_char* __thiscall num_put_char_put_ulong(const num_put *this,
return
call_num_put_char_do_put_ulong
(
this
,
ret
,
dest
,
base
,
fill
,
v
);
}
static
inline
streamsize
get_precision
(
const
ios_base
*
base
)
static
inline
unsigned
get_precision
(
const
ios_base
*
base
)
{
return
base
->
prec
<=
0
&&
!
(
base
->
fmtfl
&
FMTFLAG_fixed
)
?
6
:
base
->
prec
;
streamsize
ret
=
base
->
prec
<=
0
&&
!
(
base
->
fmtfl
&
FMTFLAG_fixed
)
?
6
:
base
->
prec
;
if
(
ret
>
UINT_MAX
)
ret
=
UINT_MAX
;
return
ret
;
}
/* ?do_put@?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@MBE?AV?$ostreambuf_iterator@DU?$char_traits@D@std@@@2@V32@AAVios_base@2@DN@Z */
...
...
@@ -7385,7 +7388,7 @@ ostreambuf_iterator_char* __thiscall num_put_char_do_put_double(const num_put *t
char
*
tmp
;
char
fmt
[
8
];
/* strlen("%+#.*lg")+1 */
int
size
;
streamsize
prec
;
unsigned
prec
;
TRACE
(
"(%p %p %p %d %lf)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
...
...
@@ -8304,7 +8307,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_wchar_do_put_double(const num_put
char
*
tmp
;
char
fmt
[
8
];
/* strlen("%+#.*lg")+1 */
int
size
;
streamsize
prec
;
unsigned
prec
;
TRACE
(
"(%p %p %p %d %lf)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
...
...
@@ -8339,7 +8342,7 @@ ostreambuf_iterator_wchar* __thiscall num_put_short_do_put_double(const num_put
char
*
tmp
;
char
fmt
[
8
];
/* strlen("%+#.*lg")+1 */
int
size
;
streamsize
prec
;
unsigned
prec
;
TRACE
(
"(%p %p %p %d %lf)
\n
"
,
this
,
ret
,
base
,
fill
,
v
);
...
...
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