VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/PlatformBase.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-06-12 12:30:04 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-06-12 12:30:04 +0200
commit455a4f2176a5cfbe325e1e40cea20dd3e466b64c (patch)
tree7a84d0f768ee375ea9f648bbbdeac7a4906f13fb /src/Platform/PlatformBase.h
parentbf9f3ec4f0a987ae1591ab5466f6eee599203c85 (diff)
downloadVeraCrypt-455a4f2176a5cfbe325e1e40cea20dd3e466b64c.tar.gz
VeraCrypt-455a4f2176a5cfbe325e1e40cea20dd3e466b64c.zip
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
Diffstat (limited to 'src/Platform/PlatformBase.h')
-rw-r--r--src/Platform/PlatformBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform/PlatformBase.h b/src/Platform/PlatformBase.h
index 22022dc7..e378704c 100644
--- a/src/Platform/PlatformBase.h
+++ b/src/Platform/PlatformBase.h
@@ -43,7 +43,7 @@ namespace VeraCrypt
typedef __int16 int16;
typedef __int32 int32;
typedef __int64 int64;
- typedef unsigned __int8 byte;
+ typedef unsigned __int8 uint8;
typedef unsigned __int16 uint16;
typedef unsigned __int32 uint32;
typedef unsigned __int64 uint64;
@@ -53,7 +53,7 @@ namespace VeraCrypt
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
- typedef uint8_t byte;
+ typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef uint64_t uint64;