string compare must be on unsigned chars

This commit is contained in:
ceriel 1987-05-19 08:51:48 +00:00
parent 643dee0ab6
commit 9eaf539e98

View file

@ -18,7 +18,7 @@
/* Author: J.W. Stevenson */
int _bcp(sz,y,x) int sz; char *y,*x; {
int _bcp(sz,y,x) int sz; unsigned char *y,*x; {
while (--sz >= 0) {
if (*x < *y)