summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-05-26 16:09:38 +0000
committerJim Meyering <jim@meyering.net>2005-05-26 16:09:38 +0000
commit6fc0ccf717c09d2dc941ee9d6622e7e987653eeb (patch)
treed64485d45f30c102706defaf6b25ed6bc3b2b578 /src
parentf3dfdff4602ec74ce15049960c66aeffab7bf87d (diff)
downloadcoreutils-6fc0ccf717c09d2dc941ee9d6622e7e987653eeb.tar.xz
(toarith): Fix a sign error introduced on 2005-01-14.
Diffstat (limited to 'src')
-rw-r--r--src/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 7a7745db2..1b42cf6e2 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -356,7 +356,7 @@ toarith (VALUE *v)
while (*++cp);
free (v->u.s);
- v->u.i = value * sign;
+ v->u.i = value;
v->type = integer;
return true;
}