diff options
Diffstat (limited to 'src/Platform/Buffer.cpp')
-rw-r--r-- | src/Platform/Buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/Buffer.cpp b/src/Platform/Buffer.cpp index 82c2a3f1..5829b1d9 100644 --- a/src/Platform/Buffer.cpp +++ b/src/Platform/Buffer.cpp @@ -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; } |