ACK found a missing "static", gcc on Minix found a missing cast; add more type size checks
This commit is contained in:
4
eval.c
4
eval.c
@ -22,7 +22,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.104 2011/05/02 22:52:51 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.105 2011/06/12 14:45:33 tg Exp $");
|
||||
|
||||
/*
|
||||
* string expansion
|
||||
@ -373,7 +373,7 @@ expand(const char *cp, /* input word */
|
||||
switch (stype & 0x17F) {
|
||||
case 0x100 | '#':
|
||||
x.str = shf_smprintf("%08X",
|
||||
hash(str_val(st->var)));
|
||||
(unsigned int)hash(str_val(st->var)));
|
||||
break;
|
||||
case '0': {
|
||||
char *beg, *mid, *end, *stg;
|
||||
|
Reference in New Issue
Block a user