diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2018-01-01 19:45:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2018-01-01 19:45:57 +0000 |
commit | e25125a30d3060dae5fc4283bf2280b1dc633d4c (patch) | |
tree | 069407247006a51a652d42d762baac309d4d6f62 /bin/ksh/lex.c | |
parent | 020467427f9cd3161ff26174a2751ff78294285a (diff) |
Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
OK tb@
Diffstat (limited to 'bin/ksh/lex.c')
-rw-r--r-- | bin/ksh/lex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c index 25799420068..7c1c3d9b6d4 100644 --- a/bin/ksh/lex.c +++ b/bin/ksh/lex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lex.c,v 1.74 2017/12/27 13:02:57 millert Exp $ */ +/* $OpenBSD: lex.c,v 1.75 2018/01/01 19:45:56 millert Exp $ */ /* * lexical analysis and source input @@ -98,9 +98,9 @@ YYSTYPE yylval; /* result from yylex */ struct ioword *heres[HERES], **herep; char ident[IDENT+1]; -char **history; /* saved commands */ -char **histptr; /* last history item */ -int histsize; /* history size */ +char **history; /* saved commands */ +char **histptr; /* last history item */ +uint32_t histsize; /* history size */ /* optimized getsc_bn() */ #define getsc() (*source->str != '\0' && *source->str != '\\' \ |