Fix a compiler warning in _PyUnicode_CheckConsistency()

This commit is contained in:
Victor Stinner 2011-11-21 22:54:05 +01:00
parent 42bf77537e
commit 5bbe5e7c85

View file

@ -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) {