#2043 Fix compile warning.

This commit is contained in:
XMRig 2021-01-17 17:48:35 +07:00
parent cc2de4f768
commit ea367da064
No known key found for this signature in database
GPG key ID: 446A53638BE94409

View file

@ -371,7 +371,7 @@ hashAndFillAes1Rx4_impl* softAESImpl = &hashAndFillAes1Rx4<1,1>;
void SelectSoftAESImpl(size_t threadsCount) void SelectSoftAESImpl(size_t threadsCount)
{ {
constexpr int test_length_ms = 100; constexpr uint64_t test_length_ms = 100;
const std::array<hashAndFillAes1Rx4_impl *, 4> impl = { const std::array<hashAndFillAes1Rx4_impl *, 4> impl = {
&hashAndFillAes1Rx4<1,1>, &hashAndFillAes1Rx4<1,1>,
&hashAndFillAes1Rx4<2,1>, &hashAndFillAes1Rx4<2,1>,