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
22c103b3
Commit
22c103b3
authored
May 07, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a compiler warning: use unsigned int type instead of enum PyUnicode_Kind to
compare two Unicode kinds
parent
f2b9a340
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Python/formatter_unicode.c
Python/formatter_unicode.c
+1
-1
No files found.
Python/formatter_unicode.c
View file @
22c103b3
...
@@ -556,7 +556,7 @@ fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec,
...
@@ -556,7 +556,7 @@ fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec,
{
{
/* Used to keep track of digits, decimal, and remainder. */
/* Used to keep track of digits, decimal, and remainder. */
Py_ssize_t
d_pos
=
d_start
;
Py_ssize_t
d_pos
=
d_start
;
const
enum
PyUnicode_Kind
kind
=
writer
->
kind
;
const
unsigned
int
kind
=
writer
->
kind
;
const
void
*
data
=
writer
->
data
;
const
void
*
data
=
writer
->
data
;
Py_ssize_t
r
;
Py_ssize_t
r
;
...
...
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