diff options
author | Jack Lloyd <[email protected]> | 2018-12-04 09:35:41 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-12-04 09:35:41 -0500 |
commit | 4e16f683d7fd3a2ab0553c9423fc725798cd899f (patch) | |
tree | 208f30df5b1922442e2804c5c9299659bc99c77a /src/lib/pubkey/mce | |
parent | 50de06c585609d969da5b9ab5812e62328bacaee (diff) |
Silence MSVC warnings
static_casts for the compiler god
Diffstat (limited to 'src/lib/pubkey/mce')
-rw-r--r-- | src/lib/pubkey/mce/code_based_key_gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/mce/code_based_key_gen.cpp b/src/lib/pubkey/mce/code_based_key_gen.cpp index b655b543b..7ddc45655 100644 --- a/src/lib/pubkey/mce/code_based_key_gen.cpp +++ b/src/lib/pubkey/mce/code_based_key_gen.cpp @@ -199,7 +199,7 @@ std::unique_ptr<binary_matrix> generate_R(std::vector<gf2m> &L, polyn_gf2m* g, s } for (i = 0; i < code_length; ++i) { - L[i] = Laux[i]; + L[i] = static_cast<gf2m>(Laux[i]); } return result; } |