summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2010-03-04 16:26:06 -0800
committer Christopher Tate <ctate@google.com> 2010-03-04 16:32:32 -0800
commit9855a0575efe1fbd5df662aee465b4c9a09c3871 (patch)
treecb93c8936ecbda8ce27e230f197d46390ea0cccf /libs/ui/FramebufferNativeWindow.cpp
parent532c4a70d3c2d9a78990cbd7bb70864c058578ff (diff)
Calculate bitmask array sizes correctly in the EventHub
We've gotten lucky to date: the previous calculation of bitmask array sizes, (maxval+1)/8 only works properly when 'maxval' is one less than a multiple of 8. Fortunately, this has either been the case for us, or there has been sufficient 'unused' space at the end of the defined max value range that we haven't wound up overreading/overwriting the allocated buffers. Change-Id: I563a93a86644ab9f19489565e06c28e06bb53abc
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions