summaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-15 19:58:35 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-15 19:58:35 -0400
commitc3ff775bfe4556ffbe920cbfbc860e471dfc7f07 (patch)
tree0fbeaafb2ec09955240bac3eb3a9bbe49a44f52e /src/lex.l
parentf7a9ead69089a862fbd9aab6995980d3ecd290bf (diff)
fix gcc-normal compiler warnings, no object change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lex.l b/src/lex.l
index 6323250..320d206 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -82,7 +82,7 @@ static int doinput (char *buf, int size)
if ((c = (*twmInputFunc)()) <= 0)
return (0);
- buf[0] = c;
+ buf[0] = (char)c;
return (1);
}
#define YY_NO_UNPUT