Windows: Fix compiler warnings

This commit is contained in:
Mounir IDRASSI committed 2023-07-18 08:38:02 +02:00
1 parent c0785aa1d4
commit 34b00fa825
2 files changed
+1 -3

No files matched your search

+1 -2
View File
@@ -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);