summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupData.cpp
diff options
context:
space:
mode:
authorAshok Bhat <ashok.bhat@arm.com>2014-03-05 12:40:53 +0000
committerNarayan Kamath <narayan@google.com>2014-03-17 10:13:16 +0000
commit2bb39d7a43fdb28ecdafd65ea4b89dc05c1ad7be (patch)
tree6ffa4ae2224a39de274c4aa72a28ed74e775e557 /libs/androidfw/BackupData.cpp
parentd93e7b2424b7ab442065b0d9cecb8b72a9c5c8ed (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 'libs/androidfw/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions