silence some warnings

This commit is contained in:
Michael Davidsaver
2013-12-08 12:31:35 -05:00
parent 45c93831de
commit c88ebd5bee
2 changed files with 2 additions and 4 deletions

View File

@@ -160,7 +160,7 @@ static PyObject *pyField_getarray(pyField *self)
#ifdef HAVE_NUMPY
int flags = NPY_CARRAY;
char *data=self->addr.pfield;
npy_int dims[1] = {self->addr.no_elements};
npy_intp dims[1] = {self->addr.no_elements};
PyArray_Descr *desc;
if(self->addr.field_type>DBF_MENU) {