From 83155fc83258f0d315052b9e201dd5bb95789f67 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 19 Feb 2009 00:25:54 +0000 Subject: [PATCH] support python 2.4 --- dtool/src/interrogatedb/py_panda.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/interrogatedb/py_panda.cxx b/dtool/src/interrogatedb/py_panda.cxx index b83808027a..54b30c4e89 100644 --- a/dtool/src/interrogatedb/py_panda.cxx +++ b/dtool/src/interrogatedb/py_panda.cxx @@ -444,7 +444,7 @@ void Dtool_PyModuleInitHelper( LibrayDef *defs[], const char * modulename) newdef[offset].ml_meth = NULL; newdef[offset].ml_flags = 0; - PyObject * module = Py_InitModule(modulename,newdef); + PyObject * module = Py_InitModule((char *)modulename,newdef); if(module == NULL) {