https://github.com/coin3d/pivy/commit/d828a332d86a2af4ffbb6a52aaa80700ff48bb16

diff --git Inventor/nodes/SoMarkerSet.i Inventor/nodes/SoMarkerSet.i
index fddbf98..d4187b0 100644
--- Inventor/nodes/SoMarkerSet.i
+++ Inventor/nodes/SoMarkerSet.i
@@ -5,7 +5,7 @@
         short WIDTH, HEIGHT;
         size.getValue(WIDTH, HEIGHT);
         short BYTEWIDTH = (WIDTH + 7) / 2;
-        char* coin_marker;
+        const char* coin_marker;
 #ifdef PY_2
         if (PyString_Check(string))
         {
@@ -49,4 +49,4 @@
         delete[] bitmapbytes;
         bitmapbytes = NULL;
     }
-}
\ No newline at end of file
+}
diff --git Inventor/sensors/SoSensor.i Inventor/sensors/SoSensor.i
index 72ac01e..ffae79b 100644
--- Inventor/sensors/SoSensor.i
+++ Inventor/sensors/SoSensor.i
@@ -4,7 +4,7 @@ SoSensorPythonCB(void * data, SoSensor * sensor)
 {
   PyGILState_STATE gil = PyGILState_Ensure();
   swig_type_info * swig_type = 0;
-  char * sensor_cast_name = NULL;
+  const char * sensor_cast_name = NULL;
   PyObject * func, * arglist;
   PyObject * result, * pysensor;
 
