diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-04 12:21:27 +0300 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-11-04 12:21:27 +0300 |
commit | 6eb3bf53dd753d4b00f0f76f9f7739aecb9af2f8 (patch) | |
tree | cd46ea1bc1c70778a4d1ac4bb94896287b28588c /source/gameengine/VideoTexture/blendVideoTex.cpp | |
parent | ca80578e4ee67280764aeaf4f562afe2bbc7519c (diff) |
VideoTexture: Bug report #17946: add (char*) casting to fix compile error with Python get-set method and module object.
Diffstat (limited to 'source/gameengine/VideoTexture/blendVideoTex.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/blendVideoTex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/blendVideoTex.cpp b/source/gameengine/VideoTexture/blendVideoTex.cpp index 629b589c0e6..f206e2f71b4 100644 --- a/source/gameengine/VideoTexture/blendVideoTex.cpp +++ b/source/gameengine/VideoTexture/blendVideoTex.cpp @@ -180,7 +180,7 @@ PyObject* initVideoTexture(void) pyFilterTypes.reg(m); Py_INCREF(&TextureType); - PyModule_AddObject(m, "Texture", (PyObject*)&TextureType); + PyModule_AddObject(m, (char*)"Texture", (PyObject*)&TextureType); // init last error description Exception::m_lastError[0] = '\0'; |