diff options
author | David Cournapeau <cournape@gmail.com> | 2009-03-09 07:56:10 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-03-09 07:56:10 +0000 |
commit | 3b2ea6cc6a45171f5a8e188bd28766a8a28f0586 (patch) | |
tree | 7f6536a58acb68d7b23bddcb4f8ad22b2eb1c08a /numpy/core/src | |
parent | 6a2a979fb3e79a30b4a5020490d855a8d3a44d22 (diff) | |
download | numpy-3b2ea6cc6a45171f5a8e188bd28766a8a28f0586.tar.gz |
More signed/unsigned comp fixes.
Diffstat (limited to 'numpy/core/src')
-rw-r--r-- | numpy/core/src/umath_ufunc_object.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath_ufunc_object.inc b/numpy/core/src/umath_ufunc_object.inc index 7544a839d..1198deaef 100644 --- a/numpy/core/src/umath_ufunc_object.inc +++ b/numpy/core/src/umath_ufunc_object.inc @@ -3076,7 +3076,7 @@ PyUFunc_GenericReduction(PyUFuncObject *self, PyObject *args, if (PyTypeNum_ISBOOL(typenum)) { typenum = PyArray_LONG; } - else if (mp->descr->elsize < sizeof(long)) { + else if ((size_t)mp->descr->elsize < sizeof(long)) { if (PyTypeNum_ISUNSIGNED(typenum)) { typenum = PyArray_ULONG; } |