Test warning fix for Issue 48: incorrect return type of GetUint64()

git-svn-id: https://rapidjson.googlecode.com/svn/trunk@87 c5894555-1306-4e8d-425f-1f6f381ee07c
This commit is contained in:
miloyip@gmail.com 2012-11-15 03:32:30 +00:00
parent b7d12d8ab5
commit d419c0ae5a

View File

@ -263,7 +263,7 @@ TEST(Value, Uint64) {
// SetUint64()
Value z;
z.SetUint64(1234);
EXPECT_EQ(1234, z.GetUint64());
EXPECT_EQ(1234u, z.GetUint64());
z.SetUint64(2147483648LL); // 2^31, cannot cast as int
EXPECT_FALSE(z.IsInt());