From 3ad9ee6fa48d2909ade1b607c071a055c0014e0e Mon Sep 17 00:00:00 2001 From: looooo Date: Wed, 6 Mar 2019 07:58:06 +0100 Subject: [PATCH] python3.7 fix --- src/Main/MainPy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/MainPy.cpp b/src/Main/MainPy.cpp index 58b86fa799..3c096c4e97 100644 --- a/src/Main/MainPy.cpp +++ b/src/Main/MainPy.cpp @@ -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;