diff options
Diffstat (limited to 'plugins/CryptoPP/src/GPGw/passdialog.cpp')
-rw-r--r-- | plugins/CryptoPP/src/GPGw/passdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/GPGw/passdialog.cpp b/plugins/CryptoPP/src/GPGw/passdialog.cpp index 08ca1678a4..18389c31d6 100644 --- a/plugins/CryptoPP/src/GPGw/passdialog.cpp +++ b/plugins/CryptoPP/src/GPGw/passdialog.cpp @@ -15,7 +15,7 @@ INT_PTR CALLBACK PassphraseDialogProcedure(HWND hdlg, UINT msg, WPARAM wparam, L {
case IDOK:
memset(dlgpassphrase, 0, sizeof(dlgpassphrase));
- GetDlgItemText(hdlg, IDC_PASSPHRASE, dlgpassphrase, SIZEOF(dlgpassphrase));
+ GetDlgItemText(hdlg, IDC_PASSPHRASE, dlgpassphrase, _countof(dlgpassphrase));
case IDCANCEL:
EndDialog(hdlg, wparam);
return TRUE;
|