From 0ce7dcf856bfbe322caf99c840af98058e460cca Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 22 Oct 2012 20:52:47 +0000 Subject: [PATCH] =?UTF-8?q?maybe=20this=20makes=20gcc=20not=20bitch?= =?UTF-8?q?=E2=80=A6=20again=E2=80=A6=20anal-retentive=20arsecompiler?= =?UTF-8?q?=E2=80=A6=20found=20in=20opensuse=20buildservice=20logs=20for?= =?UTF-8?q?=20centos=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc.c b/misc.c index ee11605..a2bfde7 100644 --- a/misc.c +++ b/misc.c @@ -30,7 +30,7 @@ #include #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); }