diff options
Diffstat (limited to 'source/gameengine/VideoTexture/BlendType.h')
-rw-r--r-- | source/gameengine/VideoTexture/BlendType.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/VideoTexture/BlendType.h b/source/gameengine/VideoTexture/BlendType.h index 8b243c43912..2b273253af6 100644 --- a/source/gameengine/VideoTexture/BlendType.h +++ b/source/gameengine/VideoTexture/BlendType.h @@ -30,7 +30,7 @@ template <class PyObj> class BlendType { public: /// constructor - BlendType (char * name) : m_name(name) {} + BlendType (const char * name) : m_name(name) {} /// check blender type and return pointer to contained object or NULL (if type is not valid) PyObj * checkType (PyObject * obj) @@ -68,7 +68,7 @@ public: protected: /// name of Python type - char * m_name; + const char * m_name; /// pointer to Python type PyTypeObject * m_objType; }; |