VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/StringConverter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/StringConverter.cpp')
-rw-r--r--src/Platform/StringConverter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform/StringConverter.cpp b/src/Platform/StringConverter.cpp
index e1a6df98..7b3134ee 100644
--- a/src/Platform/StringConverter.cpp
+++ b/src/Platform/StringConverter.cpp
@@ -385,9 +385,9 @@ namespace VeraCrypt
}
BufferPtr (
- (byte *) buffer,
+ (uint8 *) buffer,
bufferSize).CopyFrom (
- ConstBufferPtr ((byte *) (wstring (str).c_str()),
+ ConstBufferPtr ((uint8 *) (wstring (str).c_str()),
(str.length() + 1) * sizeof (wchar_t)
)
);