commit | a55c697a8276b1c82b108a695bbd588725aa015e | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Jun 06 21:27:01 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Fri Jun 06 21:27:01 2014 -0700 |
tree | b636e82692421bc57b163a86ab8c103b03ada40a | |
parent | cef85adb4933bbd00ca122aa7357e02c716df326 [diff] |
ART: Fix casts in atomic.h to please GCC GCC 4.9 for ARM64 is not happy about reinterpret_cast-ing between int64_t and uint64_t, which is according to spec. Change the concrete casts to static_cast. However, we also use this for pointers, and we cannot static_cast those to int64_t. So add a reinterpret_cast to uintptr_t. Change-Id: If6513fbcbb8ee8f610f172310af61cf2e9ab0c43