mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-22 20:41:31 +00:00
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
This commit is contained in:
@@ -44,7 +44,7 @@ namespace VeraCrypt
|
||||
|
||||
try
|
||||
{
|
||||
DataPtr = static_cast<byte *> ((alignment > 0)? Memory::AllocateAligned (size, alignment) : Memory::Allocate (size));
|
||||
DataPtr = static_cast<uint8 *> ((alignment > 0)? Memory::AllocateAligned (size, alignment) : Memory::Allocate (size));
|
||||
DataSize = size;
|
||||
DataAlignment = alignment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user