The change to filesize()'s argument fixes the following OverflowError:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "swapview.pyx", line 91, in init swapview
main()
File "swapview.pyx", line 88, in swapview.main
t = filesize(sum(x[1] for x in results))
File "swapview.pyx", line 27, in swapview.filesize
def filesize(int size):
OverflowError: value too large to convert to int
The declaration of read fixes the following warning:
The change to
filesize()
's argument fixes the following OverflowError:The declaration of
read
fixes the following warning: