diff options
author | Jack Lloyd <[email protected]> | 2019-11-29 11:01:53 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-12-03 05:17:55 -0500 |
commit | f6ce13ec1259f0e7daf816ff46a89846dab24aa6 (patch) | |
tree | f772f8e5a7a6f2bfa042b83878016624a352930a /src/cli | |
parent | 4aa90eb8e530ae611fba712b54c7a73720c2ad60 (diff) |
Add -Werror mode for CI build
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/speed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/speed.cpp b/src/cli/speed.cpp index 6449c33c4..0593fc1b5 100644 --- a/src/cli/speed.cpp +++ b/src/cli/speed.cpp @@ -1836,7 +1836,7 @@ class Speed final : public Command if(invalid_sigs > 0) error_output() << invalid_sigs << " generated signatures rejected in PK signature bench\n"; - const size_t events = std::min(sig_timer->events(), ver_timer->events()); + const size_t events = static_cast<size_t>(std::min(sig_timer->events(), ver_timer->events())); record_result(sig_timer); record_result(ver_timer); |