Commit 3cdfb0da authored by Philipp A. Hartmann's avatar Philipp A. Hartmann

rapidjsontest.cpp: silence a warning (C4244) on MSVC

parent bde95eca
...@@ -242,7 +242,7 @@ TEST_F(RapidJson, PrettyWriter_StringBuffer) { ...@@ -242,7 +242,7 @@ TEST_F(RapidJson, PrettyWriter_StringBuffer) {
TEST_F(RapidJson, internal_Pow10) { TEST_F(RapidJson, internal_Pow10) {
double sum = 0; double sum = 0;
for (size_t i = 0; i < kTrialCount * kTrialCount; i++) for (size_t i = 0; i < kTrialCount * kTrialCount; i++)
sum += internal::Pow10(i & 255); sum += internal::Pow10(int(i & 255));
EXPECT_GT(sum, 0.0); EXPECT_GT(sum, 0.0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment