projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42bf775
)
Fix a compiler warning in _PyUnicode_CheckConsistency()
author
Victor Stinner
<victor.stinner@haypocalc.com>
Mon, 21 Nov 2011 21:54:05 +0000
(22:54 +0100)
committer
Victor Stinner
<victor.stinner@haypocalc.com>
Mon, 21 Nov 2011 21:54:05 +0000
(22:54 +0100)
Objects/unicodeobject.c
patch
|
blob
|
history
diff --git
a/Objects/unicodeobject.c
b/Objects/unicodeobject.c
index bcd5b6438e452fa0a256721edf796f11537a89c2..5a2b70884ceff7638e3772f9bc7cf1ee9e75b932 100644
(file)
--- a/
Objects/unicodeobject.c
+++ b/
Objects/unicodeobject.c
@@
-401,7
+401,7
@@
_PyUnicode_CheckConsistency(PyObject *op, int check_content)
else
printf("U+%04x", ch);
}
- printf("} (len=%u)\n", ascii->length);
+ printf("} (len=%
l
u)\n", ascii->length);
abort();
}
if (kind == PyUnicode_1BYTE_KIND) {