]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Windows porting
authormpv <mpv@opencascade.com>
Thu, 18 Aug 2005 09:04:19 +0000 (09:04 +0000)
committermpv <mpv@opencascade.com>
Thu, 18 Aug 2005 09:04:19 +0000 (09:04 +0000)
src/PyInterp/PyInterp_base.cxx

index 525f8771954d346688a7a7d2dadb600c49fdb2cd..4c427d7ef8b8e9562b8e83913395a74d4d6435b3 100644 (file)
@@ -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