diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-13 18:54:02 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-13 18:54:02 +0000 |
commit | 81abf6377654cb96ee6e2dbe568de0ea5d4f4af1 (patch) | |
tree | 2d65ee039e597b8e6c19695fd175dc466ad69f23 /numpy/core/src/arrayobject.c | |
parent | 96140d2a8e221126cdb6e6a72a98f3e5f3413801 (diff) | |
download | numpy-81abf6377654cb96ee6e2dbe568de0ea5d4f4af1.tar.gz |
Fixes from 64-bit warnings in ticket #337
Diffstat (limited to 'numpy/core/src/arrayobject.c')
-rw-r--r-- | numpy/core/src/arrayobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index 3b2ae37e4..fa947ecbb 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -9282,7 +9282,8 @@ iter_ass_subscript(PyArrayIterObject *self, PyObject *ind, PyObject *val) else { if (start < -self->size || start >= self->size) { PyErr_Format(PyExc_ValueError, - "index (%d) out of range", start); + "index (%" NPY_INTP_FMT \ + ") out of range", start); goto finish; } retval = 0; |