From: ceriel Date: Tue, 19 May 1987 08:51:48 +0000 (+0000) Subject: string compare must be on unsigned chars X-Git-Tag: release-5-5~4117 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9eaf539e98cccbaa1f02acb27ba8df7c2c6e9d66;p=ack.git string compare must be on unsigned chars --- diff --git a/lang/pc/libpc/bcp.c b/lang/pc/libpc/bcp.c index 219c0b158..ef8edf605 100644 --- a/lang/pc/libpc/bcp.c +++ b/lang/pc/libpc/bcp.c @@ -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)