diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-21 21:54:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-21 21:54:05 (GMT) |
commit | 5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8 (patch) | |
tree | e77b56c6d42068ab17e5edcfc80bb3c68ac8b51b /Objects | |
parent | 42bf77537e612737c7e7e2495c3c481e92391a42 (diff) | |
download | cpython-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.c | 2 |
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) { |