diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-29 20:48:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-29 20:48:00 +0400 |
commit | d6c525d624ea98bf6eeac1a7f3483f41fed1ef4f (patch) | |
tree | 23828382378e34fe02bd2b8e25514b8bfdb564e2 /source/gameengine | |
parent | 11ad5f838992857f8bd494bbe0adb0d91963514f (diff) |
attempt to fix for py2.3
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GameLogic/SCA_PythonController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_PythonController.cpp b/source/gameengine/GameLogic/SCA_PythonController.cpp index 39367c1ab9e..b9f8dde89bf 100644 --- a/source/gameengine/GameLogic/SCA_PythonController.cpp +++ b/source/gameengine/GameLogic/SCA_PythonController.cpp @@ -323,7 +323,7 @@ bool SCA_PythonController::Import() return false; } - PyObject *mod = PyImport_ImportModule(module_func[0]); + PyObject *mod = PyImport_ImportModule((char *)module_func[0].Ptr()); if(mod && m_debug) { Py_DECREF(mod); /* getting a new one so dont hold a ref to the old one */ mod= PyImport_ReloadModule(mod); |