From 16b82845eee4198b2d56aa5a5c373008f5070f7f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 17 Mar 2013 18:30:31 +0000 Subject: code cleanup: add 'const' to headers to quiet msvc warnings, also remove (char *) casts that aren't needed now we're on Python3.3 --- source/gameengine/VideoTexture/PyTypeList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/VideoTexture/PyTypeList.cpp') diff --git a/source/gameengine/VideoTexture/PyTypeList.cpp b/source/gameengine/VideoTexture/PyTypeList.cpp index 96ac1cc5b6b..99e9ae13e64 100644 --- a/source/gameengine/VideoTexture/PyTypeList.cpp +++ b/source/gameengine/VideoTexture/PyTypeList.cpp @@ -92,6 +92,6 @@ void PyTypeList::reg(PyObject *module) // increase ref count Py_INCREF((*it)->getType()); // add type to module - PyModule_AddObject(module, (char*)(*it)->getName(), (PyObject *)(*it)->getType()); + PyModule_AddObject(module, (*it)->getName(), (PyObject *)(*it)->getType()); } } -- cgit v1.2.3