aboutsummaryrefslogtreecommitdiff
path: root/tests/GZip_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GZip_test.cpp')
-rw-r--r--tests/GZip_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/GZip_test.cpp b/tests/GZip_test.cpp
index 1e762b2e..82503d81 100644
--- a/tests/GZip_test.cpp
+++ b/tests/GZip_test.cpp
@@ -24,7 +24,7 @@ slots:
QByteArray compressed;
QByteArray decompressed;
std::default_random_engine eng((std::random_device())());
- std::uniform_int_distribution<uint8_t> idis(0, std::numeric_limits<uint8_t>::max());
+ std::uniform_int_distribution<uint16_t> idis(0, std::numeric_limits<uint8_t>::max());
// initialize random buffer
for(int i = 0; i < size; i++)