VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/MemoryStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/MemoryStream.cpp')
-rw-r--r--src/Platform/MemoryStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform/MemoryStream.cpp b/src/Platform/MemoryStream.cpp
index 8bf229fe..f750606f 100644
--- a/src/Platform/MemoryStream.cpp
+++ b/src/Platform/MemoryStream.cpp
@@ -2,11 +2,11 @@
Derived from source code of TrueCrypt 7.1a, which is
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
by the TrueCrypt License 3.0.
Modifications and additions to the original source code (contained in this file)
- and all other portions of this file are Copyright (c) 2013-2017 IDRIX
+ and all other portions of this file are Copyright (c) 2013-2025 IDRIX
and are governed by the Apache License 2.0 the full text of which is
contained in the file License.txt included in VeraCrypt binary and source
code distribution packages.
*/
@@ -16,11 +16,11 @@
namespace VeraCrypt
{
MemoryStream::MemoryStream (const ConstBufferPtr &data) :
ReadPosition (0)
{
- Data = vector <byte> (data.Size());
+ Data = vector <uint8> (data.Size());
BufferPtr (&Data[0], Data.size()).CopyFrom (data);
}
uint64 MemoryStream::Read (const BufferPtr &buffer)
{