From 7977acbc72167f542de5546761ff676b508f533e Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 14 Jan 2018 01:26:49 +0000 Subject: [PATCH] this callback also needs to cast cleanly --- funcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs.c b/funcs.c index 0816788..55c8218 100644 --- a/funcs.c +++ b/funcs.c @@ -38,7 +38,7 @@ #endif #endif -__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.352 2018/01/13 23:55:11 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.353 2018/01/14 01:26:49 tg Exp $"); #if HAVE_KILLPG /* @@ -588,7 +588,7 @@ c_print(const char **wp) static int s_get(void) { - return (*s_ptr++); + return (ord(*s_ptr++)); } static void