From d419c0ae5a5fd37a541f5f3785c4d4e4800f88cb Mon Sep 17 00:00:00 2001 From: "miloyip@gmail.com" Date: Thu, 15 Nov 2012 03:32:30 +0000 Subject: [PATCH] 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 --- test/unittest/valuetest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/valuetest.cpp b/test/unittest/valuetest.cpp index 60222a9..d4f9c44 100644 --- a/test/unittest/valuetest.cpp +++ b/test/unittest/valuetest.cpp @@ -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());