summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 21:54:05 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 21:54:05 (GMT)
commit5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8 (patch)
treee77b56c6d42068ab17e5edcfc80bb3c68ac8b51b /Objects
parent42bf77537e612737c7e7e2495c3c481e92391a42 (diff)
downloadcpython-5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8.zip
cpython-5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8.tar.gz
cpython-5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8.tar.bz2
Fix a compiler warning in _PyUnicode_CheckConsistency()
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index bcd5b64..5a2b708 100644
--- 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=%lu)\n", ascii->length);
abort();
}
if (kind == PyUnicode_1BYTE_KIND) {