add missing cast to int

avoid `TypeError: 'float' object cannot be interpreted as an integer`
This commit is contained in:
Philip Schröder 2020-09-08 00:53:35 +02:00
commit 1a82aa1bc5