maybe this makes gcc not bitch… again… anal-retentive arsecompiler…
found in opensuse buildservice logs for centos 5
This commit is contained in:
parent
bfe7d78d40
commit
0ce7dcf856
4
misc.c
4
misc.c
@ -30,7 +30,7 @@
|
|||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#endif
|
#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
|
#define KSH_CHVT_FLAG
|
||||||
#ifdef MKSH_SMALL
|
#ifdef MKSH_SMALL
|
||||||
@ -494,7 +494,7 @@ getn(const char *s, int *ai)
|
|||||||
rv = 1;
|
rv = 1;
|
||||||
|
|
||||||
getn_out:
|
getn_out:
|
||||||
*ai = i == 2147483648U ? -2147483648 : neg ? -(int)i : (int)i;
|
*ai = i == 2147483648U ? (int)i : neg ? -(int)i : (int)i;
|
||||||
return (rv);
|
return (rv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user