string compare must be on unsigned chars
This commit is contained in:
parent
f8e96a3d8c
commit
f673fb2660
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
/* Author: J.W. Stevenson */
|
/* 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) {
|
while (--sz >= 0) {
|
||||||
if (*x < *y)
|
if (*x < *y)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user