[Bf-blender-cvs] [17230ec11f3] master: Cleanup: Py3.7x warning
Campbell Barton
noreply at git.blender.org
Wed Jul 26 23:21:44 CEST 2017
Commit: 17230ec11f367f724b62602b11199b2e3002303b
Author: Campbell Barton
Date: Thu Jul 27 07:23:36 2017 +1000
Branches: master
https://developer.blender.org/rB17230ec11f367f724b62602b11199b2e3002303b
Cleanup: Py3.7x warning
===================================================================
M source/gameengine/Ketsji/KX_FontObject.cpp
===================================================================
diff --git a/source/gameengine/Ketsji/KX_FontObject.cpp b/source/gameengine/Ketsji/KX_FontObject.cpp
index 364f8d4bfc6..91e8e4fd42b 100644
--- a/source/gameengine/Ketsji/KX_FontObject.cpp
+++ b/source/gameengine/Ketsji/KX_FontObject.cpp
@@ -281,7 +281,7 @@ int KX_FontObject::pyattr_set_text(void *self_v, const KX_PYATTRIBUTE_DEF *attrd
KX_FontObject* self = static_cast<KX_FontObject*>(self_v);
if (!PyUnicode_Check(value))
return PY_SET_ATTR_FAIL;
- char* chars = _PyUnicode_AsString(value);
+ const char *chars = _PyUnicode_AsString(value);
/* Allow for some logic brick control */
CValue* tprop = self->GetProperty("Text");
More information about the Bf-blender-cvs
mailing list