diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-11 11:07:51 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-11 17:28:19 +0200 |
commit | 46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611 (patch) | |
tree | 848348ef001de15833d5d27c7efcc33851eae2d2 /src/Format | |
parent | 6ed97738946b5ed7acd28116972a1fe720debc3d (diff) | |
download | VeraCrypt-46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611.tar.gz VeraCrypt-46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611.zip |
Windows: fix compiler warnings
Diffstat (limited to 'src/Format')
-rw-r--r-- | src/Format/Tcformat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index e7acdc68..d6eb0c37 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -6134,8 +6134,8 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa if (nVolumeSize < (bHiddenVolHost ? TC_MIN_HIDDEN_VOLUME_HOST_SIZE : (bHiddenVol ? TC_MIN_HIDDEN_VOLUME_SIZE : TC_MIN_VOLUME_SIZE))) AbortProcess ("ERR_VOLUME_SIZE_TOO_SMALL"); - if ( ((!bHiddenVolHost && bHiddenVol) && (nVolumeSize > nMaximumHiddenVolSize)) - || (nVolumeSize > (bHiddenVolHost ? TC_MAX_HIDDEN_VOLUME_HOST_SIZE : TC_MAX_VOLUME_SIZE)) + if ( ((!bHiddenVolHost && bHiddenVol) && (nVolumeSize > (unsigned __int64) nMaximumHiddenVolSize)) + || (nVolumeSize > (unsigned __int64) (bHiddenVolHost ? TC_MAX_HIDDEN_VOLUME_HOST_SIZE : TC_MAX_VOLUME_SIZE)) ) { AbortProcess ("ERR_VOLUME_SIZE_TOO_BIG"); |