commit | a1227a185a5d6e2af83c532379b2f9b4600f6e16 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Tue Aug 05 15:59:43 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Aug 05 18:12:44 2014 -0700 |
tree | 7b0b39c86abaf0336de912e18f5617cdeb9e49d7 | |
parent | 09f60a9f53e6a87d5be84388f7fbf9a091fe0345 [diff] |
Fix byte_cas to use uintptr_t Atomic. Previously we used int32_t Atomic with a uintptr_t bit shift. This was a mismatch on 64 bit and resulted in occasionally having the cas return without having succeeded. Bug: 16819816 (cherry picked from commit aa3c3e5ee83c061e7f387c75b1b29c9f248ac39c) Change-Id: Ib97bf5880153ddfacf52409be3e9e821657bac59