diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-18 08:38:02 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-07-18 08:38:02 +0200 |
commit | 34b00fa82511d4749bd49f41b3edd72f5f586b8a (patch) | |
tree | f08ebb47ccb4dc7d2b2a63f67bc241cbfa34529b /src/Common/Dlgcode.c | |
parent | c0785aa1d4b6d988f175ca5732641e6ae2b10cc7 (diff) | |
download | VeraCrypt-34b00fa82511d4749bd49f41b3edd72f5f586b8a.tar.gz VeraCrypt-34b00fa82511d4749bd49f41b3edd72f5f586b8a.zip |
Windows: Fix compiler warnings
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r-- | src/Common/Dlgcode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 2cf61415..32e1617d 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -9088,8 +9088,7 @@ retry: { if (mount.wszVolume == NULL || swscanf_s ((const wchar_t *) mount.wszVolume, WIDE("\\Device\\Harddisk%d\\Partition"), - &mount.nPartitionInInactiveSysEncScopeDriveNo, - sizeof(mount.nPartitionInInactiveSysEncScopeDriveNo)) != 1) + &mount.nPartitionInInactiveSysEncScopeDriveNo) != 1) { if (!quiet) Warning ("NO_SYSENC_PARTITION_SELECTED", hwndDlg); |