projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update RPM
[m6w6/libmemcached]
/
clients
/
ms_stats.c
diff --git
a/clients/ms_stats.c
b/clients/ms_stats.c
index 960467fd46c3515704be8eecb39290237d74d73f..49a5ab6e85e1782d10f5dde2e2ea15a6c418a857 100644
(file)
--- a/
clients/ms_stats.c
+++ b/
clients/ms_stats.c
@@
-8,6
+8,10
@@
* http://www.schoonerinfotech.com/
*
*/
* http://www.schoonerinfotech.com/
*
*/
+
+#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]))
@@
-188,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");