Fix missing opening parenthesis.
authordavid@evans-2.local <none@none>
Fri, 15 Aug 2008 13:53:20 +0000 (08:53 -0500)
committerdavid@evans-2.local <none@none>
Fri, 15 Aug 2008 13:53:20 +0000 (08:53 -0500)
Cython/Compiler/ModuleNode.py

index 093aef8e8559cc8e1a24d91a7fecf3de6148151d..23cb11455dd48f4334f9dba64ccb5b8d78455fa5 100644 (file)
@@ -422,7 +422,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
         code.putln("#if PY_VERSION_HEX < 0x02060000")
         code.putln("  #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)")
         code.putln("  #define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)")
-        code.putln("  #define Py_SIZE(ob)   ((PyVarObject*)(ob))->ob_size)")
+        code.putln("  #define Py_SIZE(ob)   (((PyVarObject*)(ob))->ob_size)")
         code.putln("  #define PyVarObject_HEAD_INIT(type, size) \\")
         code.putln("          PyObject_HEAD_INIT(type) size,")
         code.putln("  #define PyType_Modified(t)")