From: Victor Stinner Date: Mon, 21 Nov 2011 21:54:05 +0000 (+0100) Subject: Fix a compiler warning in _PyUnicode_CheckConsistency() X-Git-Tag: v3.3.0a1~764 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8;p=thirdparty%2FPython%2Fcpython.git Fix a compiler warning in _PyUnicode_CheckConsistency() --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index bcd5b6438e45..5a2b70884cef 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) {