projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
remove dead stream.cc file
[m6w6/libmemcached]
/
clients
/
ms_stats.c
diff --git
a/clients/ms_stats.c
b/clients/ms_stats.c
index 7fad7fb8e0aeb1f24a7fbf67ae80284811fab4a8..49a5ab6e85e1782d10f5dde2e2ea15a6c418a857 100644
(file)
--- a/
clients/ms_stats.c
+++ b/
clients/ms_stats.c
@@
-11,6
+11,7
@@
#include "config.h"
#include "config.h"
+#include <inttypes.h>
#include "ms_stats.h"
#define array_size(x) (sizeof(x) / sizeof((x)[0]))
#include "ms_stats.h"
#define array_size(x) (sizeof(x) / sizeof((x)[0]))
@@
-191,7
+192,7
@@
void ms_dump_stats(ms_stat_t *stat)
{
printf("\n %2d:", (int)i);
}
{
printf("\n %2d:", (int)i);
}
- printf(" %6
ld"
, stat->dist[i]);
+ printf(" %6
" PRIu64
, stat->dist[i]);
}
printf("\n\n");
}
printf("\n\n");