summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/rapidjson/test/perftest/platformtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/rapidjson/test/perftest/platformtest.cpp')
-rw-r--r--3rdparty/rapidjson/test/perftest/platformtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/rapidjson/test/perftest/platformtest.cpp b/3rdparty/rapidjson/test/perftest/platformtest.cpp
index bb905ca73be..c490da7a85e 100644
--- a/3rdparty/rapidjson/test/perftest/platformtest.cpp
+++ b/3rdparty/rapidjson/test/perftest/platformtest.cpp
@@ -1,6 +1,6 @@
// Tencent is pleased to support the open source community by making RapidJSON available.
//
-// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
+// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
@@ -76,7 +76,7 @@ TEST_F(Platform, strlen) {
TEST_F(Platform, memcmp) {
for (int i = 0; i < kTrialCount; i++) {
- EXPECT_EQ(0, memcmp(temp_, json_, length_));
+ EXPECT_EQ(0u, memcmp(temp_, json_, length_));
}
}