diff options
author | Ashok Bhat <ashok.bhat@arm.com> | 2014-03-05 12:40:53 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-03-17 10:13:16 +0000 |
commit | 2bb39d7a43fdb28ecdafd65ea4b89dc05c1ad7be (patch) | |
tree | 6ffa4ae2224a39de274c4aa72a28ed74e775e557 /rs/java/android/renderscript/RenderScript.java | |
parent | d93e7b2424b7ab442065b0d9cecb8b72a9c5c8ed (diff) |
Pass int32_t for JNI calls to java Input/Output streams.
Passing size_t is problematic on 64 bit platforms where
it's 8 bytes in size. Conversion to int32_t is safe because
the size argument is always clamped to fCapacity, which is
4 bytes wide.
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Change-Id: I58558561a4f56451485f1a5fc6cdeda677247071
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions