X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fms_stats.c;h=49a5ab6e85e1782d10f5dde2e2ea15a6c418a857;hb=941deb278c78654f9cfeda6f343c79e2f10b746a;hp=960467fd46c3515704be8eecb39290237d74d73f;hpb=a7a011c2ea4a63368b3a96a332da00820ed402cb;p=m6w6%2Flibmemcached diff --git a/clients/ms_stats.c b/clients/ms_stats.c index 960467fd..49a5ab6e 100644 --- a/clients/ms_stats.c +++ b/clients/ms_stats.c @@ -8,6 +8,10 @@ * http://www.schoonerinfotech.com/ * */ + +#include "config.h" + +#include #include "ms_stats.h" #define array_size(x) (sizeof(x) / sizeof((x)[0])) @@ -188,7 +192,7 @@ void ms_dump_stats(ms_stat_t *stat) { printf("\n %2d:", (int)i); } - printf(" %6ld", stat->dist[i]); + printf(" %6" PRIu64 , stat->dist[i]); } printf("\n\n");