diff options
author | Jack Lloyd <[email protected]> | 2017-08-31 08:23:30 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-31 08:23:30 -0400 |
commit | 7fecb1254232311d5f2ca62f9cda1e12a4b2558c (patch) | |
tree | 2e2cd8ef8ca016310d4cc9aa6bee7abc96c39e2f /src/tests/test_gf2m.cpp | |
parent | df4287c3c763de14b262ed39d54b3de552adbefb (diff) |
More MSVC warnings fixes
Diffstat (limited to 'src/tests/test_gf2m.cpp')
-rw-r--r-- | src/tests/test_gf2m.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_gf2m.cpp b/src/tests/test_gf2m.cpp index c8110034e..9bb572c4e 100644 --- a/src/tests/test_gf2m.cpp +++ b/src/tests/test_gf2m.cpp @@ -45,7 +45,7 @@ class GF2m_Tests : public Test for(size_t i = 0; i <= field.gf_ord(); ++i) { - gf2m a = i; + gf2m a = static_cast<gf2m>(i); result.test_eq("square vs multiply", static_cast<size_t>(field.gf_square(a)), |