summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index c30020fc..91d97fe7 100644
--- a/parser.c
+++ b/parser.c
@@ -1762,7 +1762,7 @@ static wint_t lino_getch(mem_t *stream_in)
stream = coerce(val, stream_in);
ch = get_char(stream);
- ret = if3(ch, (wint_t) c_num(ch, self), WEOF);
+ ret = if3(ch, convert(wint_t, c_num(ch, self)), WEOF);
uw_catch (sy, va) {
(void) sy;