(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:
@@ -183,7 +183,7 @@ hashcaseadd(const char *s)
|
|||||||
assert(s);
|
assert(s);
|
||||||
|
|
||||||
for (i = 0; *s; ++s)
|
for (i = 0; *s; ++s)
|
||||||
i += toupper(*s);
|
i += toupper((unsigned char)*s);
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user