support building with python3.2

This commit is contained in:
2011-01-18 21:39:50 +00:00
parent 7d675b15fb
commit 3b0c2accc6
8 changed files with 20 additions and 14 deletions

View File

@@ -225,7 +225,7 @@ float BPY_driver_exec(ChannelDriver *driver)
#else
/* evaluate the compiled expression */
if (expr_code)
retval= PyEval_EvalCode((PyCodeObject *)expr_code, bpy_pydriver_Dict, driver_vars);
retval= PyEval_EvalCode((void *)expr_code, bpy_pydriver_Dict, driver_vars);
#endif
/* decref the driver vars first... */