Windows: Fix various compiler warnings

This commit is contained in:
Mounir IDRASSI committed 2024-11-15 00:41:07 +01:00
1 parent 117d8dd046
commit 43ad4f93eb
17 files changed
+315 -301

No files matched your search

+3 -3
View File
@@ -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;