aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_bigint.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-10-01 05:28:59 -0400
committerJack Lloyd <[email protected]>2018-10-01 05:28:59 -0400
commitb96189789154222a8de57e31deb457be4208b4b3 (patch)
tree3e507015919fe4c73ccdabd3903fdcf178d5fd1b /src/tests/test_bigint.cpp
parent388530b25b3de0e33f85612d91721dc190b3347d (diff)
Fix more MSVC warnings
Diffstat (limited to 'src/tests/test_bigint.cpp')
-rw-r--r--src/tests/test_bigint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_bigint.cpp b/src/tests/test_bigint.cpp
index 33c617239..3870c5c6f 100644
--- a/src/tests/test_bigint.cpp
+++ b/src/tests/test_bigint.cpp
@@ -167,7 +167,7 @@ class BigInt_Unit_Tests final : public Test
for(auto sample : counts)
{
- const double count = sample.second;
+ const double count = static_cast<double>(sample.second);
chi2 += ((count - expected)*(count - expected)) / expected;
}