diff --git a/src/ft2font_wrapper.cpp b/src/ft2font_wrapper.cpp index a97de686b242..c77dd836373a 100644 --- a/src/ft2font_wrapper.cpp +++ b/src/ft2font_wrapper.cpp @@ -971,7 +971,7 @@ static PyObject *PyFT2Font_get_char_index(PyFT2Font *self, PyObject *args, PyObj FT_UInt index; FT_ULong ccode; - if (!PyArg_ParseTuple(args, "I:get_char_index", &ccode)) { + if (!PyArg_ParseTuple(args, "k:get_char_index", &ccode)) { return NULL; }