summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {