python3.7 fix

This commit is contained in:
looooo
2019-03-06 07:58:06 +01:00
committed by wmayer
parent cc194d301a
commit d944ef9188

View File

@@ -143,7 +143,7 @@ PyMOD_INIT_FUNC(FreeCAD)
// backwards since the FreeCAD path was likely appended just before
// we were imported.
for (i = PyList_Size(pySysPath) - 1; i >= 0 ; --i) {
char *basePath;
const char *basePath;
PyObject *pyPath = PyList_GetItem(pySysPath, i);
long sz = 0;