X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5dd6771b28c257af405d7248639ed0e3bcdce38b..85bb87a28dff30d9e90ec80ab33cd97a3f07cb9d:/sbr/strcasecmp.c?ds=sidebyside diff --git a/sbr/strcasecmp.c b/sbr/strcasecmp.c index 04aad7d3..c48c9d4c 100644 --- a/sbr/strcasecmp.c +++ b/sbr/strcasecmp.c @@ -24,9 +24,9 @@ mh_strcasecmp (const char *s1, const char *s2) us2 = (const unsigned char *) s2; if (!us1) - us1 = ""; + us1 = (const unsigned char *) ""; if (!us2) - us2 = ""; + us2 = (const unsigned char *) ""; while (tolower(*us1) == tolower(*us2++)) if (*us1++ == '\0')