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/PyTypeList.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/PyTypeList.cpp')
-rw-r--r-- | source/gameengine/VideoTexture/PyTypeList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/PyTypeList.cpp b/source/gameengine/VideoTexture/PyTypeList.cpp index 0451d74c8ad..6d2676dce09 100644 --- a/source/gameengine/VideoTexture/PyTypeList.cpp +++ b/source/gameengine/VideoTexture/PyTypeList.cpp @@ -78,6 +78,6 @@ void PyTypeList::reg (PyObject * module) // increase ref count Py_INCREF((*it)->getType()); // add type to module - PyModule_AddObject(module, (*it)->getName(), (PyObject*)(*it)->getType()); + PyModule_AddObject(module, (char*)(*it)->getName(), (PyObject*)(*it)->getType()); } } |