artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdf1c57
)
Quiet an "implicit conversion from 'int' to 'char' changes value"
author
millert
<millert@openbsd.org>
Mon, 1 May 2017 19:05:49 +0000
(19:05 +0000)
committer
millert
<millert@openbsd.org>
Mon, 1 May 2017 19:05:49 +0000
(19:05 +0000)
warning from clang.
bin/ksh/eval.c
patch
|
blob
|
history
diff --git
a/bin/ksh/eval.c
b/bin/ksh/eval.c
index
7124fce
..
39f9e7c
100644
(file)
--- a/
bin/ksh/eval.c
+++ b/
bin/ksh/eval.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: eval.c,v 1.5
0 2016/03/05 12:30:17 czarkoff Exp $
*/
+/* $OpenBSD: eval.c,v 1.5
1 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++ = '@' + 0x80
U
;
break;
case '=':
/* Enabling tilde expansion