Kaydet (Commit) 7a2f83b7 authored tarafından Thomas Wouters's avatar Thomas Wouters

Use correct format specifier for Py_ssize_t variable to PyArg_ParseTuple().

üst 977485d8
......@@ -1195,7 +1195,7 @@ array_fromfile(arrayobject *self, PyObject *args)
PyObject *f;
Py_ssize_t n;
FILE *fp;
if (!PyArg_ParseTuple(args, "Oi:fromfile", &f, &n))
if (!PyArg_ParseTuple(args, "On:fromfile", &f, &n))
return NULL;
fp = PyFile_AsFile(f);
if (fp == NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment