diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-04-20 02:04:58 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-04-20 02:04:58 +0000 |
commit | a2f7d5dc07a258084343a568e7b4716128664f64 (patch) | |
tree | a9e9c39926d6dcabae9437a5651eff770fc45d1f | |
parent | fcb113145cd718429042b550bf7bd3280ddaa6d1 (diff) | |
download | src-a2f7d5dc07a258084343a568e7b4716128664f64.tar.gz src-a2f7d5dc07a258084343a568e7b4716128664f64.zip |
Prevent sign extension (again)
Notes
Notes:
svn path=/head/; revision=95097
-rw-r--r-- | usr.bin/m4/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |