summaryrefslogtreecommitdiff
path: root/lib/libedit/parse.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-02-11 19:21:04 +0000
committerchristos <christos@NetBSD.org>2016-02-11 19:21:04 +0000
commitc4cb5470dbe594ffd789969fc6d603578de0da07 (patch)
tree316c147213db205f23de83532f89fceab1ba016f /lib/libedit/parse.c
parent79a74300a0827b2ab4ff01e35a13e1c11924fb66 (diff)
- Add some more Char casts
- reduce ifdefs by providing empty defs for nls functions (Ingo Schwarze)
Diffstat (limited to 'lib/libedit/parse.c')
-rw-r--r--lib/libedit/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c
index 47d6f7d9b9d..c814ef28907 100644
--- a/lib/libedit/parse.c
+++ b/lib/libedit/parse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.27 2014/07/06 18:15:34 christos Exp $ */
+/* $NetBSD: parse.c,v 1.28 2016/02/11 19:21:04 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: parse.c,v 1.27 2014/07/06 18:15:34 christos Exp $");
+__RCSID("$NetBSD: parse.c,v 1.28 2016/02/11 19:21:04 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -251,7 +251,7 @@ parse__string(Char *out, const Char *in)
case '^':
if ((n = parse__escape(&in)) == -1)
return NULL;
- *out++ = n;
+ *out++ = (Char)n;
break;
case 'M':