aboutsummaryrefslogtreecommitdiff
path: root/lib/strequal.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strequal.c')
-rw-r--r--lib/strequal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strequal.c b/lib/strequal.c
index e14bc245d..e05832efd 100644
--- a/lib/strequal.c
+++ b/lib/strequal.c
@@ -28,11 +28,11 @@
int curl_strequal(const char *first, const char *second)
{
#if defined(HAVE_STRCASECMP)
- return !strcasecmp(first, second);
+ return !(strcasecmp)(first, second);
#elif defined(HAVE_STRCMPI)
- return !strcmpi(first, second);
+ return !(strcmpi)(first, second);
#elif defined(HAVE_STRICMP)
- return !stricmp(first, second);
+ return !(stricmp)(first, second);
#else
while (*first && *second) {
if (toupper(*first) != toupper(*second)) {