mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Fix various compiler warnings
This commit is contained in:
@@ -511,9 +511,9 @@ begin_format:
|
||||
// The previous file system format failed and the user wants to try again with a different file system.
|
||||
// The volume header had been written successfully so we need to seek to the byte after the header.
|
||||
|
||||
LARGE_INTEGER offset;
|
||||
offset.QuadPart = TC_VOLUME_DATA_OFFSET;
|
||||
if (!SetFilePointerEx ((HANDLE) dev, offset, NULL, FILE_BEGIN))
|
||||
LARGE_INTEGER volDataOffset;
|
||||
volDataOffset.QuadPart = TC_VOLUME_DATA_OFFSET;
|
||||
if (!SetFilePointerEx ((HANDLE) dev, volDataOffset, NULL, FILE_BEGIN))
|
||||
{
|
||||
nStatus = ERR_OS_ERROR;
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user