commit | 5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Nov 21 22:54:05 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Nov 21 22:54:05 2011 +0100 |
tree | e77b56c6d42068ab17e5edcfc80bb3c68ac8b51b | |
parent | 42bf77537e612737c7e7e2495c3c481e92391a42 [diff] |
Fix a compiler warning in _PyUnicode_CheckConsistency()
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 @@ else printf("U+%04x", ch); } - printf("} (len=%u)\n", ascii->length); + printf("} (len=%lu)\n", ascii->length); abort(); } if (kind == PyUnicode_1BYTE_KIND) {