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