Automatic conversion of floats to integers for struct.pack integer codes
is deprecated. Use an explicit int() instead.
diff --git a/Lib/compileall.py b/Lib/compileall.py
index f99b834..49537fd 100644
--- a/Lib/compileall.py
+++ b/Lib/compileall.py
@@ -57,7 +57,7 @@
if tail == '.py':
if not force:
try:
- mtime = os.stat(fullname).st_mtime
+ mtime = int(os.stat(fullname).st_mtime)
expect = struct.pack('<4sl', imp.get_magic(), mtime)
cfile = fullname + (__debug__ and 'c' or 'o')
with open(cfile, 'rb') as chandle: