diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2015-03-19 19:26:03 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2015-03-19 19:26:03 +0100 |
commit | 60c30e4ea47f38cd02d7c1b7d0c59a8982a6346d (patch) | |
tree | 960f70bda11cf4615ec9d3b590fd2b8be43f387d | |
parent | acd4698873a14529a29a7b464d7091ccbde245d5 (diff) | |
download | cython-60c30e4ea47f38cd02d7c1b7d0c59a8982a6346d.tar.gz |
get rid of C compiler warning
--HG--
extra : transplant_source : %89a%DB%CAdE1%AC%D4%1Fp%81%E5%28%02X%B1%1A%E9%01
-rw-r--r-- | Cython/Utility/TypeConversion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/TypeConversion.c b/Cython/Utility/TypeConversion.c index af469a173..4cd82291c 100644 --- a/Cython/Utility/TypeConversion.c +++ b/Cython/Utility/TypeConversion.c @@ -502,7 +502,7 @@ static CYTHON_INLINE PyObject* {{TO_PY_FUNCTION}}({{TYPE}} value) { func_type value = func_value; \ if (sizeof(target_type) < sizeof(func_type)) { \ if (unlikely(value != (func_type) (target_type) value)) { \ - const func_type zero = 0; \ + func_type zero = 0; \ if (is_unsigned && unlikely(value < zero)) \ goto raise_neg_overflow; \ else \ |