From: mpv Date: Thu, 18 Aug 2005 09:04:19 +0000 (+0000) Subject: Windows porting X-Git-Tag: T_3_0_2a1~32 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5f1773bfb9ac1314a1fcaf6eb9e92ee18186bfc;p=modules%2Fgui.git Windows porting --- 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