Commit 61d9641f authored by Victor Stinner's avatar Victor Stinner

Fix a compiler warning in _PyUnicode_CheckConsistency()

parent a28c8075
...@@ -401,7 +401,7 @@ _PyUnicode_CheckConsistency(PyObject *op, int check_content) ...@@ -401,7 +401,7 @@ _PyUnicode_CheckConsistency(PyObject *op, int check_content)
else else
printf("U+%04x", ch); printf("U+%04x", ch);
} }
printf("} (len=%u)\n", ascii->length); printf("} (len=%lu)\n", ascii->length);
abort(); abort();
} }
if (kind == PyUnicode_1BYTE_KIND) { if (kind == PyUnicode_1BYTE_KIND) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment