cast python function pointer to void pointer to avoid error

This commit is contained in:
Thomas Fussell 2017-07-03 06:01:33 -07:00
parent 80fb2a6e29
commit 2aeec48b73

View File

@ -84,7 +84,7 @@ PyDoc_STRVAR(xlntpyarrow_doc, "The xlntpyarrow module");
static PyModuleDef_Slot xlntpyarrow_slots[] =
{
{ Py_mod_exec, exec_xlntpyarrow },
{ Py_mod_exec, (void *)exec_xlntpyarrow },
{ 0, NULL }
};