summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2017-05-01 19:05:49 +0000
committermillert <millert@openbsd.org>2017-05-01 19:05:49 +0000
commit4bee05899b3c97b437ddb5f50e61a853043acda8 (patch)
tree031d0ae02744731b418615eb54a3a8354558db10
parentRevert r1.170 and remove the id==0 check. (diff)
downloadwireguard-openbsd-4bee05899b3c97b437ddb5f50e61a853043acda8.tar.xz
wireguard-openbsd-4bee05899b3c97b437ddb5f50e61a853043acda8.zip
Quiet an "implicit conversion from 'int' to 'char' changes value"
warning from clang.
-rw-r--r--bin/ksh/eval.c4
1 files 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