mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
Clang: explicit char-initialization of ByteArray
This commit is contained in:
parent
3527c82327
commit
0b39e50cdc
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ generateTestData( qint64 size )
|
|||
// Fill the array explicitly to keep Valgrind happy
|
||||
for ( auto it = ba.data() ; it < ba.data() + size ; ++it )
|
||||
{
|
||||
*it = rand() % 256;
|
||||
*it = char( rand() & 0xff );
|
||||
}
|
||||
return ba;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue