VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-11 11:07:51 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-11 17:28:19 +0200
commit46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611 (patch)
tree848348ef001de15833d5d27c7efcc33851eae2d2 /src/Common/Dlgcode.c
parent6ed97738946b5ed7acd28116972a1fe720debc3d (diff)
downloadVeraCrypt-46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611.tar.gz
VeraCrypt-46a3fe1458b6d34eb5f1b97e8fc6f60656cb3611.zip
Windows: fix compiler warnings
Diffstat (limited to 'src/Common/Dlgcode.c')
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index f21d551f..ccd44e16 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -3416,7 +3416,7 @@ BOOL CALLBACK TextEditDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa
if (!prm->ReadOnly)
{
prm->Text.resize(GetWindowTextLengthA (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT)) + 1);
- GetWindowTextA (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), &(prm->Text)[0], prm->Text.size());
+ GetWindowTextA (GetDlgItem (hwndDlg, IDC_INFO_BOX_TEXT), &(prm->Text)[0], (int) prm->Text.size());
}
NormalCursor ();
EndDialog (hwndDlg, IDOK);