diff options
| author | Pirama Arumuga Nainar <pirama@google.com> | 2016-03-22 11:39:28 -0700 |
|---|---|---|
| committer | Pirama Arumuga Nainar <pirama@google.com> | 2016-03-22 11:43:05 -0700 |
| commit | 55614d2987a4c69fad2c3c5b18ed4dd738c8fc8b (patch) | |
| tree | e643df333768076978a35b0c4f0bfdfaf24ad0b2 /cpp/RenderScript.cpp | |
| parent | e44bd78cd972469b1d8de478e1fbc8ffad5d340d (diff) | |
Prevent truncation in maxDoubleForInteger
Bug: http://b/27512382
Use uint64_t instead of 'unsigned long' as the latter's size may not
always be 64-bits. Doing so makes maxDoubleForInteger return the
expected result.
Change-Id: I1db0af0e11ff55a99994b6b81a9cb5d18d525e7c
Diffstat (limited to 'cpp/RenderScript.cpp')
0 files changed, 0 insertions, 0 deletions
