From 42271ad4631e4d2eadd0f408f13704a152cb2fea Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Sep 2008 14:08:33 +0000 Subject: use shift right. Division result is not integral. --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/runtests.pl b/tests/runtests.pl index 77787dc3f..4cd390b5d 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2108,7 +2108,7 @@ sub singletest { $cmdres = 1000; } else { - $cmdres /= 256; + $cmdres >>= 8; } } if(!$dumped_core) { -- cgit v1.2.3