Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7b251358
Commit
7b251358
authored
Jun 24, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #9566: pystrtod.c: Fix a compiler warnings on Windows x64
parent
76d38502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Python/pystrtod.c
Python/pystrtod.c
+2
-2
No files found.
Python/pystrtod.c
View file @
7b251358
...
...
@@ -923,7 +923,7 @@ static char *uc_float_strings[] = {
static
char
*
format_float_short
(
double
d
,
char
format_code
,
int
mode
,
Py_ssize_
t
precision
,
int
mode
,
in
t
precision
,
int
always_add_sign
,
int
add_dot_0_if_integer
,
int
use_alt_formatting
,
char
**
float_strings
,
int
*
type
)
{
...
...
@@ -1059,7 +1059,7 @@ format_float_short(double d, char format_code,
/* if using an exponent, reset decimal point position to 1 and adjust
exponent accordingly.*/
if
(
use_exp
)
{
exp
=
decpt
-
1
;
exp
=
(
int
)
decpt
-
1
;
decpt
=
1
;
}
/* ensure vdigits_start < decpt <= vdigits_end, or vdigits_start <
...
...
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