summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/lex.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-05 23:16:31 +0000
committerru <ru@FreeBSD.org>2004-02-05 23:16:31 +0000
commitac55111241f74b01b3f6f444861f24eccbd639c3 (patch)
treead54992e8b907bd8f5eb2fcf1150a76f5d3ad27f /contrib/one-true-awk/lex.c
parent1236c1c0f0eb6f78b0a1aa580374b5f0a0ac547c (diff)
parenta1d941195d09954508ee356f30d7989bb1d426c4 (diff)
downloadFreeBSD-src-ac55111241f74b01b3f6f444861f24eccbd639c3.zip
FreeBSD-src-ac55111241f74b01b3f6f444861f24eccbd639c3.tar.gz
This commit was generated by cvs2svn to compensate for changes in r125505,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/one-true-awk/lex.c')
-rw-r--r--contrib/one-true-awk/lex.c4
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();
OpenPOWER on IntegriCloud