diff options
author | 2014-08-12 09:28:57 -0700 | |
---|---|---|
committer | 2014-08-12 09:28:57 -0700 | |
commit | dea60f6db3b454b5f6db35032c82163c3b00ad46 (patch) | |
tree | dec40ae0368d160ddd8f196e964951d08aa10de7 /src | |
parent | 78ee93f5454c93136efff5970553ac6105950247 (diff) |
Replace LLU with ULL to make VS2012 work again.
R=bungeman@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/458663004
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/SkTextureCompressor_ASTC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/SkTextureCompressor_ASTC.cpp b/src/utils/SkTextureCompressor_ASTC.cpp index c7c7f14019..7c77c6bcd6 100644 --- a/src/utils/SkTextureCompressor_ASTC.cpp +++ b/src/utils/SkTextureCompressor_ASTC.cpp @@ -285,10 +285,10 @@ static inline T swap_bits(T p) { } static inline uint64_t reverse64(uint64_t n) { - static const uint64_t m0 = 0x5555555555555555LLU; - static const uint64_t m1 = 0x0300c0303030c303LLU; - static const uint64_t m2 = 0x00c0300c03f0003fLLU; - static const uint64_t m3 = 0x00000ffc00003fffLLU; + static const uint64_t m0 = 0x5555555555555555ULL; + static const uint64_t m1 = 0x0300c0303030c303ULL; + static const uint64_t m2 = 0x00c0300c03f0003fULL; + static const uint64_t m3 = 0x00000ffc00003fffULL; n = ((n>>1)&m0) | (n&m0)<<1; n = swap_bits<uint64_t, m1, 4>(n); n = swap_bits<uint64_t, m2, 8>(n); |