maybe this makes gcc not bitch… again… anal-retentive arsecompiler…

found in opensuse buildservice logs for centos 5
This commit is contained in:
tg 2012-10-22 20:52:47 +00:00
parent bfe7d78d40
commit 0ce7dcf856

4
misc.c
View File

@ -30,7 +30,7 @@
#include <grp.h>
#endif
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.199 2012/10/03 17:24:21 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.200 2012/10/22 20:52:47 tg Exp $");
#define KSH_CHVT_FLAG
#ifdef MKSH_SMALL
@ -494,7 +494,7 @@ getn(const char *s, int *ai)
rv = 1;
getn_out:
*ai = i == 2147483648U ? -2147483648 : neg ? -(int)i : (int)i;
*ai = i == 2147483648U ? (int)i : neg ? -(int)i : (int)i;
return (rv);
}