From a3f7bcf45b1464d1c0e7ad6758bb8657b6aaef76 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 17 Dec 2014 12:11:01 +0100 Subject: Windows: replace stricmp by _stricmp to remove compilation warning --- src/Mount/Mount.c | 8 ++++---- 1 file 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 { -- cgit v1.2.3