(hashcaseadd): cast argument to toupper to unsigned char

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14495 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-01-08 22:55:26 +00:00
parent 8b62d6288a
commit 7ee1cf1d33

View File

@@ -183,7 +183,7 @@ hashcaseadd(const char *s)
assert(s);
for (i = 0; *s; ++s)
i += toupper(*s);
i += toupper((unsigned char)*s);
return i;
}