summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-04-20 02:04:58 +0000
committerache <ache@FreeBSD.org>2002-04-20 02:04:58 +0000
commit8b5aa4feb971345f95b19847b6f3bc78769ac946 (patch)
treea9e9c39926d6dcabae9437a5651eff770fc45d1f /usr.bin/m4
parent1cabb92eedd7ff58077f1efe99a8c791380e19d3 (diff)
downloadFreeBSD-src-8b5aa4feb971345f95b19847b6f3bc78769ac946.zip
FreeBSD-src-8b5aa4feb971345f95b19847b6f3bc78769ac946.tar.gz
Prevent sign extension (again)
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index 57a0600..30d3b95 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);
}
OpenPOWER on IntegriCloud