From a2f7d5dc07a258084343a568e7b4716128664f64 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 20 Apr 2002 02:04:58 +0000 Subject: [PATCH] Prevent sign extension (again) --- usr.bin/m4/extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h index 57a0600b1348..30d3b95334c4 100644 --- a/usr.bin/m4/extern.h +++ b/usr.bin/m4/extern.h @@ -163,7 +163,7 @@ static __inline int gpbc(void) if (bp > bufbase) { if (*--bp) - return (*bp); + return ((unsigned char)*bp); else return (EOF); }