summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 18f9ce2cc2..cda5ff25bf 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -606,7 +606,8 @@ static PyObject *
file_readinto(PyFileObject *f, PyObject *args)
{
char *ptr;
- size_t ntodo, ndone, nnow;
+ int ntodo;
+ size_t ndone, nnow;
if (f->f_fp == NULL)
return err_closed();