diff --git a/src/ep_resources.c b/src/ep_resources.c index a84edb4..8ecf8e1 100644 --- a/src/ep_resources.c +++ b/src/ep_resources.c @@ -51,7 +51,7 @@ static PyObject *wrap_resource_file_handle(HRESFILE handle) return rc; } -static PyObject *resfile_load_classmethod(ResFileType *cls, PyObject *args) +static PyObject *resfile_load_classmethod(PyTypeObject *cls, PyObject *args) { const char *filename; PyObject *rc = NULL;