From 9eaf539e98cccbaa1f02acb27ba8df7c2c6e9d66 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 19 May 1987 08:51:48 +0000 Subject: [PATCH] string compare must be on unsigned chars --- lang/pc/libpc/bcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1