Permalink
Browse files

api_hooks: fix bug in round reported by jg

  • Loading branch information...
williballenthin committed Nov 5, 2018
1 parent f9cb96b commit 090b0e6e9ca154bc1c809fb91bf1ede3d7d11d70
Showing with 1 addition and 1 deletion.
  1. +1 −1 floss/api_hooks.py
@@ -160,7 +160,7 @@ def round(i, size):
'''
if i % size == 0:
return i
return i + (i - (i % size))
return i + (size - (i % size))
class RtlAllocateHeapHook(viv_utils.emulator_drivers.Hook):

0 comments on commit 090b0e6

Please sign in to comment.