diff options
author | ru <ru@FreeBSD.org> | 2004-02-05 23:16:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-02-05 23:16:31 +0000 |
commit | a1d941195d09954508ee356f30d7989bb1d426c4 (patch) | |
tree | a5d0cb5b785f8bf9a6fa923a7909cc2ecf6264cb /contrib/one-true-awk/lex.c | |
parent | 6247f7406311e6b59676be460a1e9394a5a1fe8f (diff) | |
download | FreeBSD-src-a1d941195d09954508ee356f30d7989bb1d426c4.zip FreeBSD-src-a1d941195d09954508ee356f30d7989bb1d426c4.tar.gz |
Fixes from 31-Jul-2003; make it 8-bit clean.
Forgotten by: ru (for far too long)
Diffstat (limited to 'contrib/one-true-awk/lex.c')
-rw-r--r-- | contrib/one-true-awk/lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/one-true-awk/lex.c b/contrib/one-true-awk/lex.c index 39f5d4d..1766d71 100644 --- a/contrib/one-true-awk/lex.c +++ b/contrib/one-true-awk/lex.c @@ -550,9 +550,9 @@ int input(void) /* get next lexical input character */ extern char *lexprog; if (yysptr > yysbuf) - c = *--yysptr; + c = (uschar)*--yysptr; else if (lexprog != NULL) { /* awk '...' */ - if ((c = *lexprog) != 0) + if ((c = (uschar)*lexprog) != 0) lexprog++; } else /* awk -f ... */ c = pgetc(); |