Commit 5ca5dad4 authored by Stefan Behnel's avatar Stefan Behnel

Add missing cast.

parent 55d5d340
No related merge requests found
...@@ -247,7 +247,7 @@ static CYTHON_INLINE PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) { ...@@ -247,7 +247,7 @@ static CYTHON_INLINE PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) {
return (unsigned PY_LONG_LONG) __builtin_llabs(x); return (unsigned PY_LONG_LONG) __builtin_llabs(x);
#else #else
if (sizeof(PY_LONG_LONG) <= sizeof(Py_ssize_t)) if (sizeof(PY_LONG_LONG) <= sizeof(Py_ssize_t))
return __Pyx_sst_abs(x); return (unsigned PY_LONG_LONG) __Pyx_sst_abs(x);
return (x<0) ? (unsigned PY_LONG_LONG)-x : (unsigned PY_LONG_LONG)x; return (x<0) ? (unsigned PY_LONG_LONG)-x : (unsigned PY_LONG_LONG)x;
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment