mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
This commit is contained in:
@@ -1340,13 +1340,13 @@ static BOOL DoAutoTestAlgorithms (void)
|
||||
|
||||
// AES EncipherBlocks()/DecipherBlocks()
|
||||
{
|
||||
byte testData[1024];
|
||||
uint8 testData[1024];
|
||||
uint32 origCrc;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < sizeof (testData); ++i)
|
||||
{
|
||||
testData[i] = (byte) i;
|
||||
testData[i] = (uint8) i;
|
||||
}
|
||||
|
||||
origCrc = GetCrc32 (testData, sizeof (testData));
|
||||
|
||||
Reference in New Issue
Block a user