cast argument to toupper to unsigned char,
from Christian Biere <christianbiere@gmx.de> via NetBSD git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12009 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -47,7 +47,7 @@ strupr(char *str)
|
||||
char *s;
|
||||
|
||||
for(s = str; *s; s++)
|
||||
*s = toupper(*s);
|
||||
*s = toupper((unsigned char)*s);
|
||||
return str;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user