string compare must be on unsigned chars
This commit is contained in:
parent
643dee0ab6
commit
9eaf539e98
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue