Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2008-11-04 12:21:27 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2008-11-04 12:21:27 +0300
commit6eb3bf53dd753d4b00f0f76f9f7739aecb9af2f8 (patch)
treecd46ea1bc1c70778a4d1ac4bb94896287b28588c /source/gameengine/VideoTexture/PyTypeList.cpp
parentca80578e4ee67280764aeaf4f562afe2bbc7519c (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.cpp2
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());
}
}