fix typo in previous commit
authorLisandro Dalcin <dalcinl@gmail.com>
Wed, 14 Apr 2010 17:14:49 +0000 (14:14 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Wed, 14 Apr 2010 17:14:49 +0000 (14:14 -0300)
Cython/Compiler/PyrexTypes.py

index 23dceaf6a1a0db3bfce622a40ea7e290a3b1ea78..6babebe378d4c59889f264414747334c2346b00e 100755 (executable)
@@ -816,7 +816,7 @@ class CIntType(CNumericType):
             if not self.signed:
                 Prefix = "Long"
                 SignWord = "Unsigned"
-            if self.rank >== list(rank_to_type_name).index('PY_LONG_LONG'):
+            if self.rank >= list(rank_to_type_name).index('PY_LONG_LONG'):
                 Prefix = "Long"
                 TypeName = "LongLong"
             return "Py%s_From%s%s" % (Prefix, SignWord, TypeName)