summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/src/array_from_pyobj
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/f2py/tests/src/array_from_pyobj')
-rw-r--r--numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
index fe21d4b9b..0411b62e0 100644
--- a/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
+++ b/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c
@@ -93,7 +93,7 @@ static PyObject *f2py_rout_wrap_attrs(PyObject *capi_self,
PyObject *strides = NULL;
char s[100];
int i;
- memset(s,0,100);
+ memset(s,0,100*sizeof(char));
if (!PyArg_ParseTuple(capi_args,"O!|:wrap.attrs",
&PyArray_Type,&arr_capi))
return NULL;