summaryrefslogtreecommitdiff
path: root/gcc/double-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/double-int.c')
-rw-r--r--gcc/double-int.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/double-int.c b/gcc/double-int.c
index f8dd0b519d8..2ab505584f8 100644
--- a/gcc/double-int.c
+++ b/gcc/double-int.c
@@ -362,9 +362,9 @@ double_int_scmp (double_int a, double_int b)
return -1;
if (a.high > b.high)
return 1;
- if ((HOST_WIDE_INT) a.low < (HOST_WIDE_INT) b.low)
+ if (a.low < b.low)
return -1;
- if ((HOST_WIDE_INT) a.low > (HOST_WIDE_INT) b.low)
+ if (a.low > b.low)
return 1;
return 0;