summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 22:54:05 +0100
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-21 22:54:05 +0100
commit5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8 (patch)
treee77b56c6d42068ab17e5edcfc80bb3c68ac8b51b
parent42bf77537e612737c7e7e2495c3c481e92391a42 (diff)
downloadcpython-git-5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8.tar.gz
Fix a compiler warning in _PyUnicode_CheckConsistency()
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index bcd5b6438e..5a2b70884c 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) {