Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 71ba01b..5249f1c 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -922,7 +922,7 @@
 		ndone += nnow;
 		ntodo -= nnow;
 	}
-	return PyInt_FromLong((long)ndone);
+	return PyInt_FromSsize_t(ndone);
 }
 
 /**************************************************************************