diff options
Diffstat (limited to 'src/test-performance.cpp')
-rw-r--r-- | src/test-performance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test-performance.cpp b/src/test-performance.cpp index 64535c6..90397b7 100644 --- a/src/test-performance.cpp +++ b/src/test-performance.cpp @@ -54,7 +54,7 @@ T generate_value(T max = std::numeric_limits<T>::max()) uint32_t value{}; do { - for (int i = 0; i < sizeof(value); ++i) { + for (size_t i = 0; i < sizeof(value); ++i) { value = (value << 8) | generate_byte(); } } while (static_cast<uint64_t>(value) >= max_modulo); |