1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 07:55:04 -05:00

#2043 Fix compile warning.

This commit is contained in:
XMRig
2021-01-17 17:48:35 +07:00
parent cc2de4f768
commit ea367da064

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>,