From 4bee05899b3c97b437ddb5f50e61a853043acda8 Mon Sep 17 00:00:00 2001 From: millert Date: Mon, 1 May 2017 19:05:49 +0000 Subject: [PATCH] Quiet an "implicit conversion from 'int' to 'char' changes value" warning from clang. --- bin/ksh/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ksh/eval.c b/bin/ksh/eval.c index 7124fcec939..39f9e7c8210 100644 --- a/bin/ksh/eval.c +++ b/bin/ksh/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.50 2016/03/05 12:30:17 czarkoff Exp $ */ +/* $OpenBSD: eval.c,v 1.51 2017/05/01 19:05:49 millert Exp $ */ /* * Expansion - quoting, separation, substitution, globbing @@ -326,7 +326,7 @@ expand(char *cp, /* input word */ * expected) */ *dp++ = MAGIC; - *dp++ = '@' + 0x80; + *dp++ = '@' + 0x80U; break; case '=': /* Enabling tilde expansion -- 2.20.1