VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-17 12:11:01 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-17 12:15:01 +0100
commita3f7bcf45b1464d1c0e7ad6758bb8657b6aaef76 (patch)
tree4a53c1fdb07270e2ef5769579e7e17c692bf69aa
parentc98400a2b7f035b6873480889b701380b66853a2 (diff)
downloadVeraCrypt-a3f7bcf45b1464d1c0e7ad6758bb8657b6aaef76.tar.gz
VeraCrypt-a3f7bcf45b1464d1c0e7ad6758bb8657b6aaef76.zip
Windows: replace stricmp by _stricmp to remove compilation warning
-rw-r--r--src/Mount/Mount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 83b41e34..e33fe752 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -7009,13 +7009,13 @@ void ExtractCommandLine (HWND hwndDlg, char *lpszCommandLine)
if (HAS_ARGUMENT == GetArgumentValue (lpszCommandLineArgs,
nArgPos, &i, nNoCommandLineArgs, szTmp, sizeof (szTmp)))
{
- if (stricmp(szTmp, "sha512") == 0)
+ if (_stricmp(szTmp, "sha512") == 0)
CmdVolumePkcs5 = SHA512;
- else if (stricmp(szTmp, "whirlpool") == 0)
+ else if (_stricmp(szTmp, "whirlpool") == 0)
CmdVolumePkcs5 = WHIRLPOOL;
- else if (stricmp(szTmp, "sha256") == 0)
+ else if (_stricmp(szTmp, "sha256") == 0)
CmdVolumePkcs5 = SHA256;
- else if (stricmp(szTmp, "ripemd160") == 0)
+ else if (_stricmp(szTmp, "ripemd160") == 0)
CmdVolumePkcs5 = RIPEMD160;
else
{