commit | 055f000d28ebf339f81924d2c19397b9d4c32340 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Tue Jun 30 14:03:55 2015 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Tue Jun 30 14:50:09 2015 -0700 |
tree | 081df031e59d83bfcb38675370bd55192098b4d2 | |
parent | 20f79e19d345f00a3aca9f25370950d1852ac793 [diff] |
Fix writeByteArray/writeInt32Array size on x64 writeByteArray writes the size using sizeof(size_t), however it is always read using readInt32(). On devices where sizeof(size_t) != 4 this causes extra bytes to be written. BUG: 22204736 Change-Id: I8d4507b6b616857ef5827f1fe9da0907d09abf0e