From 14d20837b3f2da4fe76f7a933098fd0b6f8e2f28 Mon Sep 17 00:00:00 2001 From: Vitalii Demianets Date: Fri, 9 Aug 2013 10:28:17 +0200 Subject: [PATCH] 'llround' is more suitable here than 'roundl' --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index f4cb7d6d..e65c0f70 100644 --- a/cgminer.c +++ b/cgminer.c @@ -5110,7 +5110,7 @@ static void hashmeter(int thr_id, struct timeval *diff, local_secs = (double)total_diff.tv_sec + ((double)total_diff.tv_usec / 1000000.0); decay_time(&total_rolling, local_mhashes_done / local_secs, local_secs); - global_hashrate = roundl(total_rolling) * 1000000; + global_hashrate = llround(total_rolling) * 1000000; timersub(&total_tv_end, &total_tv_start, &total_diff); total_secs = (double)total_diff.tv_sec +