generator: division defaults to fp. use // for integer div

Change-Id: I7fd6a2ad0c099086d77ecdf0a98f7050a923659e
(cherry picked from commit eb68da22fc92558ce481d842fe2580ac6736b585)
This commit is contained in:
Mark Charney 2017-06-11 11:18:30 -04:00
parent 0d5fd4a040
commit dd5d596267

View File

@ -3924,7 +3924,7 @@ def partition_attributes(agi, attr):
#msgb("PARTITIONING ATTRIBUTES", '[%s]' % (",".join(attr)))
for a in attr:
i = lookup_attr(agi,a)
b = i / 64
b = i // 64
try:
d[b].append(a)
except: