BZ2Comp_compress():  Explicitly cast the LONG_LONG size argument to
_PyString_Resize to int.
diff --git a/Modules/bz2module.c b/Modules/bz2module.c
index 45bffb1..c45de1d 100644
--- a/Modules/bz2module.c
+++ b/Modules/bz2module.c
@@ -1480,7 +1480,7 @@
 		}
 	}
 
-	_PyString_Resize(&ret, BZS_TOTAL_OUT(bzs) - totalout);
+	_PyString_Resize(&ret, (int)(BZS_TOTAL_OUT(bzs) - totalout));
 
 	RELEASE_LOCK(self);
 	return ret;