From 88de39206d2431c2aae5ad408a483f388a85eef2 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Mon, 23 Dec 2019 14:14:36 +0300 Subject: [PATCH] ull --- test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.cpp b/test.cpp index d25d748..ca5ac88 100644 --- a/test.cpp +++ b/test.cpp @@ -80,7 +80,7 @@ JSON11_TEST_CASE(json11_test) { assert(json_it["site_id"].int64_value() == 122062); assert(json_it["site_id"].int64_value() == 122062); std::cout << (signed long long)json_it["visitor_id"].int64_value() << std::endl; - assert((unsigned long long)(json_it["visitor_id"].int64_value()) == 9941658010949867158); + assert((unsigned long long)(json_it["visitor_id"].int64_value()) == 9941658010949867158ull); std::cout << "int int64 test passed!" << std::endl; std::cout << "uint uint64 test" << std::endl;