From 5bbe5e7c8585d01ec8f58975bf62dd4a74a99bd8 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 21 Nov 2011 22:54:05 +0100 Subject: Fix a compiler warning in _PyUnicode_CheckConsistency() --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v0.12