diff --git a/dist/am-utils/libamu/strcasecmp.c b/dist/am-utils/libamu/strcasecmp.c index 34b6ed58abdf..791ef9d60842 100644 --- a/dist/am-utils/libamu/strcasecmp.c +++ b/dist/am-utils/libamu/strcasecmp.c @@ -1,4 +1,4 @@ -/* $NetBSD: strcasecmp.c,v 1.1.1.7 2004/11/27 01:01:05 christos Exp $ */ +/* $NetBSD: strcasecmp.c,v 1.2 2005/04/17 17:42:48 christos Exp $ */ /* * Copyright (c) 1997-2004 Erez Zadok @@ -55,8 +55,8 @@ int strcasecmp(const char *s1, const char *s2) { - const char *cp1 = s1; - const char *cp2 = s2; + const unsigned char *cp1 = (const unsigned char *)s1; + const unsigned char *cp2 = (const unsigned char *)s2; while (tolower(*cp1) == tolower(*cp2++)) if (*cp1++ == '\0')