Code cleanup: use 'const' for arrays (python)
[blender.git] / source / blender / python / generic / bgl.c
index d1d0ec96315e98c714d8a11047aafff38e86ac0e..292d3317a2eddba3a824592b4449c3f76a121eee 100644 (file)
@@ -1905,7 +1905,7 @@ PyObject *BPyInit_bgl(void)
 static PyObject *Method_ShaderSource(PyObject *UNUSED(self), PyObject *args)
 {
        unsigned int shader;
-       char *source;
+       const char *source;
 
        if (!PyArg_ParseTuple(args, "Is", &shader, &source))
                return NULL;