diff options
author | Jamey Hicks <jamey.hicks@nokia.com> | 2012-01-02 18:25:45 -0800 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2012-01-03 10:22:54 +0100 |
commit | 776da9081bcacc40c8c62247e8f045cb4e621297 (patch) | |
tree | 1c55707b88523acf728f554df6f9b9032aa135c4 | |
parent | 1a826d7fd78b902e5602a69271c41a103a07e8be (diff) |
use ull suffix for unsigned 64bit
Change-Id: I2a7fcf8d949ae93ac90c9fef8021b017e361eb50
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r-- | src/qjson_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qjson_p.h b/src/qjson_p.h index 2b8757d..4357f89 100644 --- a/src/qjson_p.h +++ b/src/qjson_p.h @@ -111,8 +111,8 @@ static inline int compressedNumber(double d) { // this relies on details of how ieee floats are represented const int exponent_off = 52; - const quint64 fraction_mask = 0x000fffffffffffff; - const quint64 exponent_mask = 0x7ff0000000000000; + const quint64 fraction_mask = 0x000fffffffffffffull; + const quint64 exponent_mask = 0x7ff0000000000000ull; union { quint64 val; |