mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-06-17 01:56:10 -05:00
Avoid conflict with C++17 features std::byte by using uint8 type instead of byte
This commit is contained in:
@@ -26,7 +26,7 @@ namespace VeraCrypt
|
||||
outputString.erase();
|
||||
|
||||
char c;
|
||||
while (InputStream->Read (BufferPtr ((byte *) &c, sizeof (c))) == sizeof (c))
|
||||
while (InputStream->Read (BufferPtr ((uint8 *) &c, sizeof (c))) == sizeof (c))
|
||||
{
|
||||
if (c == '\r')
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user