[Lxml-checkins] r33035 - lxml/pyrex/Pyrex/Compiler

scoder at codespeak.net scoder at codespeak.net
Mon Oct 9 11:04:07 CEST 2006


Author: scoder
Date: Mon Oct  9 11:04:05 2006
New Revision: 33035

Modified:
   lxml/pyrex/Pyrex/Compiler/Nodes.py
Log:
small fix for C++

Modified: lxml/pyrex/Pyrex/Compiler/Nodes.py
==============================================================================
--- lxml/pyrex/Pyrex/Compiler/Nodes.py	(original)
+++ lxml/pyrex/Pyrex/Compiler/Nodes.py	Mon Oct  9 11:04:05 2006
@@ -3782,7 +3782,7 @@
                 /* Normalize to raise <class>, <instance> */
                 Py_DECREF(value);
                 value = type;
-                type = type->ob_type;
+                type = (PyObject*) type->ob_type;
                 Py_INCREF(type);
         }
     }


More information about the lxml-checkins mailing list