Commit 60c30e4e authored by Stefan Behnel's avatar Stefan Behnel

get rid of C compiler warning

--HG--
extra : transplant_source : %89a%DB%CAdE1%AC%D4%1Fp%81%E5%28%02X%B1%1A%E9%01
parent acd46988
...@@ -502,7 +502,7 @@ static CYTHON_INLINE PyObject* {{TO_PY_FUNCTION}}({{TYPE}} value) { ...@@ -502,7 +502,7 @@ static CYTHON_INLINE PyObject* {{TO_PY_FUNCTION}}({{TYPE}} value) {
func_type value = func_value; \ func_type value = func_value; \
if (sizeof(target_type) < sizeof(func_type)) { \ if (sizeof(target_type) < sizeof(func_type)) { \
if (unlikely(value != (func_type) (target_type) value)) { \ if (unlikely(value != (func_type) (target_type) value)) { \
const func_type zero = 0; \ func_type zero = 0; \
if (is_unsigned && unlikely(value < zero)) \ if (is_unsigned && unlikely(value < zero)) \
goto raise_neg_overflow; \ goto raise_neg_overflow; \
else \ else \
......
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