commit | 2bb39d7a43fdb28ecdafd65ea4b89dc05c1ad7be | [log] [tgz] |
---|---|---|
author | Ashok Bhat <ashok.bhat@arm.com> | Wed Mar 05 12:40:53 2014 +0000 |
committer | Narayan Kamath <narayan@google.com> | Mon Mar 17 10:13:16 2014 +0000 |
tree | 6ffa4ae2224a39de274c4aa72a28ed74e775e557 | |
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