From: Robert Bradshaw Date: Thu, 29 May 2008 18:42:11 +0000 (-0700) Subject: Minor fix in indexing test X-Git-Tag: 0.9.8rc1~11^2~10^2~10^2~3^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b2a1153d71c820f715550b62b646e19109017e1;p=cython.git Minor fix in indexing test --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index b12a80f2..5446b29e 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -1295,7 +1295,7 @@ class IndexNode(ExprNode): if self.original_index_type.signed: return ", 0" else: - return ", sizeof(Py_ssize_t) >= sizeof(%s)" % self.original_index_type.declaration_code("") + return ", sizeof(Py_ssize_t) <= sizeof(%s)" % self.original_index_type.declaration_code("") else: return ""