From a5f1773bfb9ac1314a1fcaf6eb9e92ee18186bfc Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 18 Aug 2005 09:04:19 +0000 Subject: [PATCH] Windows porting --- src/PyInterp/PyInterp_base.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PyInterp/PyInterp_base.cxx b/src/PyInterp/PyInterp_base.cxx index 525f87719..4c427d7ef 100644 --- a/src/PyInterp/PyInterp_base.cxx +++ b/src/PyInterp/PyInterp_base.cxx @@ -208,7 +208,7 @@ int compile_command(const char *command,PyObject *context) #ifndef WNT PyObjWrapper r(PyEval_EvalCode(v,context,context)); #else - PyObjWrapper r(PyEval_EvalCode((PyCodeObject *)&v,context,context)); + PyObjWrapper r(PyEval_EvalCode((PyCodeObject *)(void *)v,context,context)); #endif if(!r){ // Execution error. We return -1 -- 2.39.2