From: millert Date: Mon, 1 May 2017 19:05:49 +0000 (+0000) Subject: Quiet an "implicit conversion from 'int' to 'char' changes value" X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4bee05899b3c97b437ddb5f50e61a853043acda8;p=openbsd Quiet an "implicit conversion from 'int' to 'char' changes value" warning from clang. --- 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