X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=clients%2Fmemstat.c;h=847e7f0d0ee8eeb8763ca07158a34705ff67e57e;hb=9141e90dccb732d6e7ef10ea248ce2fd7d1ef46b;hp=e6783b68c095c7a8de4b2f88309a2ce5f53aceed;hpb=36f17e820b2f927983502717be3e83513dd6b3ab;p=m6w6%2Flibmemcached diff --git a/clients/memstat.c b/clients/memstat.c index e6783b68..847e7f0d 100644 --- a/clients/memstat.c +++ b/clients/memstat.c @@ -168,8 +168,8 @@ static void run_analyzer(memcached_st *memc, memcached_stat_st *memc_stat, } gettimeofday(&end_time, NULL); - elapsed_time= timedif(end_time, start_time); - elapsed_time /= (long)num_of_tests; + elapsed_time= (long) timedif(end_time, start_time); + elapsed_time /= (long) num_of_tests; if (elapsed_time > slowest_time) {