commit | e59cb43edad0eff28a81b18c3c4484442ff680dd | [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 | eef04a1b4f081422c36d14663a77744f249d4c57 | |
parent | fe608c5e3c75714e4aa6c31e048f4a15e4951411 [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