Linux: Fix compilation with python 3.7

Fixes #714
This commit is contained in:
Kovid Goyal 2018-07-10 18:47:05 +05:30
parent 1d22b75090
commit cc767061cc
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -175,7 +175,7 @@ face_from_descriptor(PyObject *descriptor, FONTS_DATA_HANDLE fg) {
if (!missing_ok) { PyErr_SetString(PyExc_KeyError, "font descriptor is missing the key: " #key); return NULL; } \
} else key = conv(t); \
}
char *path = NULL;
const char *path = NULL;
long index = 0;
bool hinting = false;
long hint_style = 0;