summaryrefslogtreecommitdiffstats
path: root/gcc/predict.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c
index 70460ab3b46..df69e943a50 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -793,7 +793,7 @@ expensive_function_p (threshold)
{
unsigned int sum = 0;
int i;
- int limit;
+ unsigned int limit;
/* We can not compute accurately for large thresholds due to scaled
frequencies. */
OpenPOWER on IntegriCloud