From acdafb9d46c2a9e2970a2bb6c53e5bf029462f19 Mon Sep 17 00:00:00 2001 From: hubicka Date: Sat, 31 Aug 2013 13:32:31 +0000 Subject: * basic-block.h (apply_scale): Make scale parmeter gcov_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202128 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/basic-block.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/basic-block.h') diff --git a/gcc/basic-block.h b/gcc/basic-block.h index d7b896ae8a1..43174553133 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -960,7 +960,7 @@ combine_probabilities (int prob1, int prob2) constrained to be < REG_BR_PROB_BASE. */ static inline gcov_type -apply_scale (gcov_type freq, int scale) +apply_scale (gcov_type freq, gcov_type scale) { return RDIV (freq * scale, REG_BR_PROB_BASE); } -- cgit v1.2.1