Browse Source

support python 2.4

David Rose 17 years ago
parent
commit
83155fc832
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/interrogatedb/py_panda.cxx

+ 1 - 1
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)
     {