string compare must be on unsigned chars
This commit is contained in:
parent
643dee0ab6
commit
9eaf539e98
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue