Use Py_ssize_t for counts and sizes.
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index be141d0..373255d 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -408,7 +408,7 @@
 	char *p, buf[MAXPATHLEN + 1];
 #endif
 	PyObject *toc_entry;
-	int len;
+	Py_ssize_t len;
 
 	if (!PyArg_ParseTuple(args, "s:zipimporter.get_data", &path))
 		return NULL;
@@ -910,7 +910,7 @@
 {
 	PyObject *code;
 	char *buf = PyString_AsString(data);
-	int size = PyString_Size(data);
+	Py_ssize_t size = PyString_Size(data);
 
 	if (size <= 9) {
 		PyErr_SetString(ZipImportError,