diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-15 00:38:09 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2024-11-15 00:38:09 +0100 |
commit | 117d8dd046fcfc8e85c8aadf96556eb9f445695c (patch) | |
tree | 4a4c7b297ddf96db898dc810f7ae14df963e9c6c | |
parent | 951c8d210b7a648a9b3bdb13e0cb0435d26ce850 (diff) | |
download | VeraCrypt-117d8dd046fcfc8e85c8aadf96556eb9f445695c.tar.gz VeraCrypt-117d8dd046fcfc8e85c8aadf96556eb9f445695c.zip |
Windows: Fix MBR bootload compilation error following latest changes
-rw-r--r-- | src/Boot/Windows/BootMain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Boot/Windows/BootMain.cpp b/src/Boot/Windows/BootMain.cpp index e85f2be5..f6024d34 100644 --- a/src/Boot/Windows/BootMain.cpp +++ b/src/Boot/Windows/BootMain.cpp @@ -371,3 +371,3 @@ static bool OpenVolume (uint8 drive, Password &password, int pim, CRYPTO_INFO ** - if (ReadVolumeHeader (!hiddenVolume, (char *) SectorBuffer, &password, pim, cryptoInfo, nullptr) == ERR_SUCCESS) + if (ReadVolumeHeader (!hiddenVolume, SectorBuffer, &password, pim, cryptoInfo, nullptr) == ERR_SUCCESS) { @@ -919,3 +919,3 @@ askBadSectorSkip: - if (ReadVolumeHeader (TRUE, (char *) SectorBuffer, &bootArguments->BootPassword, (int) (bootArguments->Flags >> 16), NULL, headerCryptoInfo) == 0) + if (ReadVolumeHeader (TRUE, SectorBuffer, &bootArguments->BootPassword, (int) (bootArguments->Flags >> 16), NULL, headerCryptoInfo) == 0) { @@ -1096,3 +1096,3 @@ static void RepairMenu () - if (ReadVolumeHeader (TRUE, (char *) SectorBuffer, &password, pim, &cryptoInfo, nullptr) == 0) + if (ReadVolumeHeader (TRUE, SectorBuffer, &password, pim, &cryptoInfo, nullptr) == 0) { |