Prevent sign extension on characters with 8bit set

This commit is contained in:
Andrey A. Chernov 2002-04-19 19:43:46 +00:00
parent c7e56d3248
commit 81153b6b63
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95071

View File

@ -170,7 +170,7 @@ struct input_file {
* pushf() - push a call frame entry onto stack
* pushs() - push a string pointer onto stack
*/
#define gpbc() (bp > bufbase) ? (*--bp ? *bp : EOF) : \
#define gpbc() (bp > bufbase) ? (*--bp ? (*bp & 0xFF) : EOF) : \
((chscratch = obtain_char(infile+ilevel)) == '\n' && \
++inlineno[ilevel], chscratch)
#define pushf(x) \