diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-11-04 23:49:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 23:49:54 +0100 |
commit | 5e9b26dbef1c7cf917af17585c4282f58fc5eaef (patch) | |
tree | 4e0369c91ad7ae025df1024f56ba4df17d42cfe0 /tests | |
parent | 8f045af8679e9ae1da120eb56e4cec452284ac56 (diff) | |
parent | 396a7994f9f485192b13f21a3dcf6710b50356ed (diff) | |
download | PrismLauncher-5e9b26dbef1c7cf917af17585c4282f58fc5eaef.tar.gz PrismLauncher-5e9b26dbef1c7cf917af17585c4282f58fc5eaef.tar.bz2 PrismLauncher-5e9b26dbef1c7cf917af17585c4282f58fc5eaef.zip |
Merge pull request #366 from TheLastRar/MSVC-Build
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GZip_test.cpp | 2 |
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++) |