4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-05-06 14:39:43 +00:00

Update qaglobalutils.cpp

This commit is contained in:
Andrei Yankovich 2022-07-26 13:09:04 +03:00 committed by GitHub
parent 81316a23d3
commit 246ea80b36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ void gen(int size, QByteArray &result) {
result.insert(0, reinterpret_cast<char*>(&random), sizeof(random));
}
}
// to do the random functions should be generate 4 bit number any wher exept last number
// to do. The random function should generate 4 bit numbers anywhere except last number
void randomArray(int size, QByteArray &result) {
if (size % sizeof(unsigned long long) == 0) {
gen<unsigned long long>(size, result);