diff --git a/perf/local_thr.cpp b/perf/local_thr.cpp index 0eb86253..0c67add0 100644 --- a/perf/local_thr.cpp +++ b/perf/local_thr.cpp @@ -118,7 +118,7 @@ int main (int argc, char *argv []) throughput = (unsigned long) ((double) message_count / (double) elapsed * 1000000); - megabits = (double) (throughput * message_size * 8) / 1000000; + megabits = ((double) throughput * message_size * 8) / 1000000; printf ("message size: %d [B]\n", (int) message_size); printf ("message count: %d\n", (int) message_count);