remove superfluous cast
authorStefan Behnel <scoder@users.berlios.de>
Tue, 27 May 2008 15:05:51 +0000 (17:05 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 27 May 2008 15:05:51 +0000 (17:05 +0200)
Cython/Compiler/ExprNodes.py

index f6b59cdf20fd914b59d7615907a7bf6cab567c45..406da371d1756c6dd43a1ca6d638a8b09abdfda7 100644 (file)
@@ -992,7 +992,7 @@ class NameNode(AtomicExprNode):
                         self.interned_cname,
                         rhs.py_result()))
                 # in Py2.6+, we need to invalidate the method cache
-                code.putln("__Pyx_TypeModified((PyTypeObject*)%s);" %
+                code.putln("__Pyx_TypeModified(%s);" %
                            entry.scope.parent_type.typeptr_cname)
             else: 
                 code.put_error_if_neg(self.pos,