From e21b3d81c54b81723cf6438669b94e89449d3a66 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 29 Aug 2008 06:32:42 +0000 Subject: Use Py_ssize_t rather then int, broke building on 64bt linux --- source/gameengine/Ketsji/KX_PythonInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji') diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index 8a19039a337..e9fb0278d76 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -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) -- cgit v1.2.3