summaryrefslogtreecommitdiff
path: root/scipy/base/src/arrayobject.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2005-10-07 17:07:47 +0000
committerTravis Oliphant <oliphant@enthought.com>2005-10-07 17:07:47 +0000
commitdfdb8689aaaed931bc8d9d42deec96d0c43a6a79 (patch)
tree09edc0e3004fc0a23c4eefc7e12e308eee53fa8e /scipy/base/src/arrayobject.c
parent8af0fea248072118dcd7047ebec2219183fe7718 (diff)
downloadnumpy-dfdb8689aaaed931bc8d9d42deec96d0c43a6a79.tar.gz
Fixed more intp issues.
Diffstat (limited to 'scipy/base/src/arrayobject.c')
-rw-r--r--scipy/base/src/arrayobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scipy/base/src/arrayobject.c b/scipy/base/src/arrayobject.c
index f52f2c9c3..41414801a 100644
--- a/scipy/base/src/arrayobject.c
+++ b/scipy/base/src/arrayobject.c
@@ -408,7 +408,7 @@ contiguous_data(PyArrayObject *src)
int elsize=src->itemsize;
int copies=1;
int ret, i;
- int stride=elsize;
+ intp stride=elsize;
char *new_data;
for(i=dest_nd-1; i>=0; i--) {
@@ -5130,7 +5130,7 @@ array_frominterface(PyObject *input, PyArray_Typecode *intype, int flags)
char *data;
int buffer_len;
int res, i, n;
- int dims[MAX_DIMS], strides[MAX_DIMS];
+ intp dims[MAX_DIMS], strides[MAX_DIMS];
int swap;
/* Get the memory from __array_data__ and __array_offset__ */