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

Windows: replace stricmp by _stricmp to remove compilation warning

This commit is contained in:
Mounir IDRASSI
2014-12-17 12:11:01 +01:00
parent c98400a2b7
commit a3f7bcf45b

View File

@@ -7009,13 +7009,13 @@ void ExtractCommandLine (HWND hwndDlg, char *lpszCommandLine)
if (HAS_ARGUMENT == GetArgumentValue (lpszCommandLineArgs, if (HAS_ARGUMENT == GetArgumentValue (lpszCommandLineArgs,
nArgPos, &i, nNoCommandLineArgs, szTmp, sizeof (szTmp))) nArgPos, &i, nNoCommandLineArgs, szTmp, sizeof (szTmp)))
{ {
if (stricmp(szTmp, "sha512") == 0) if (_stricmp(szTmp, "sha512") == 0)
CmdVolumePkcs5 = SHA512; CmdVolumePkcs5 = SHA512;
else if (stricmp(szTmp, "whirlpool") == 0) else if (_stricmp(szTmp, "whirlpool") == 0)
CmdVolumePkcs5 = WHIRLPOOL; CmdVolumePkcs5 = WHIRLPOOL;
else if (stricmp(szTmp, "sha256") == 0) else if (_stricmp(szTmp, "sha256") == 0)
CmdVolumePkcs5 = SHA256; CmdVolumePkcs5 = SHA256;
else if (stricmp(szTmp, "ripemd160") == 0) else if (_stricmp(szTmp, "ripemd160") == 0)
CmdVolumePkcs5 = RIPEMD160; CmdVolumePkcs5 = RIPEMD160;
else else
{ {