fix syntax
authorStefan Behnel <stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:47:07 +0000 (13:47 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sat, 21 Sep 2013 11:47:07 +0000 (13:47 +0200)
Cython/Utility/TypeConversion.c

index b6b8e1d..b937e2b 100644 (file)
@@ -521,7 +521,7 @@ static CYTHON_INLINE {{TYPE}} {{FROM_PY_FUNCTION}}(PyObject *x) {
         } else {
 #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
  #if CYTHON_USE_PYLONG_INTERNALS
-            if (sizeof(digit) <= sizeof({{TYPE}}) {
+            if (sizeof(digit) <= sizeof({{TYPE}})) {
                 switch (Py_SIZE(x)) {
                     case  0: return 0;
                     case  1: return +({{TYPE}}) ((PyLongObject*)x)->ob_digit[0];