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
cd27df3a
Commit
cd27df3a
authored
Jan 23, 2012
by
Amaury Forgeot d'Arc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation warnings (seen on win32 buildbot)
parent
5b45a013
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Python/formatter_unicode.c
Python/formatter_unicode.c
+4
-4
No files found.
Python/formatter_unicode.c
View file @
cd27df3a
...
...
@@ -682,7 +682,7 @@ format_string_internal(PyObject *value, const InternalFormatSpec *format)
Py_ssize_t
pos
;
Py_ssize_t
len
=
PyUnicode_GET_LENGTH
(
value
);
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
/* sign is not allowed on strings */
if
(
format
->
sign
!=
'\0'
)
{
...
...
@@ -749,7 +749,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
IntOrLongToString
tostring
)
{
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
PyObject
*
tmp
=
NULL
;
Py_ssize_t
inumeric_chars
;
Py_UCS4
sign_char
=
'\0'
;
...
...
@@ -926,7 +926,7 @@ format_float_internal(PyObject *value,
NumberFieldWidths
spec
;
int
flags
=
0
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
Py_UCS4
sign_char
=
'\0'
;
int
float_type
;
/* Used to see if we have a nan, inf, or regular float. */
PyObject
*
unicode_tmp
=
NULL
;
...
...
@@ -1070,7 +1070,7 @@ format_complex_internal(PyObject *value,
NumberFieldWidths
im_spec
;
int
flags
=
0
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
int
rkind
;
void
*
rdata
;
Py_ssize_t
index
;
...
...
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