1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Correct compilation error under Linux introduced in latest commit

This commit is contained in:
Mounir IDRASSI
2014-07-27 12:20:02 +02:00
parent cb6dad6bd2
commit ee9f3101fd

View File

@@ -196,7 +196,7 @@ namespace VeraCrypt
{ {
long wipeCount; long wipeCount;
wxString wipeCountStrDesc = HeaderWipeCount->GetStringSelection(); wxString wipeCountStrDesc = HeaderWipeCount->GetStringSelection();
wxString wipeCountStr = wipeCountStrDesc.BeforeFirst(wxT("-")); wxString wipeCountStr = wipeCountStrDesc.BeforeFirst(wxT('-'));
if (!wipeCountStr.ToLong(&wipeCount)) if (!wipeCountStr.ToLong(&wipeCount))
wipeCount = PRAND_HEADER_WIPE_PASSES; wipeCount = PRAND_HEADER_WIPE_PASSES;
return (int) wipeCount; return (int) wipeCount;