Use Py_ssize_t rather then int, broke building on 64bt linux
This commit is contained in:
parent
f60992daae
commit
e21b3d81c5
@ -1055,7 +1055,7 @@ static char gPyEventToString_doc[] =
|
||||
static PyObject* gPyEventToString(PyObject*, PyObject* value)
|
||||
{
|
||||
PyObject* mod, *dict, *key, *val, *ret = NULL;
|
||||
int pos = 0;
|
||||
Py_ssize_t pos = 0;
|
||||
|
||||
mod = PyImport_ImportModule( "GameKeys" );
|
||||
if (!mod)
|
||||
|
Loading…
Reference in New Issue
Block a user