~trond-norbye/libmemcached/new-embedded

« back to all changes in this revision

Viewing changes to clients/ms_stats.c

  • Committer: Brian Aker
  • Date: 2009-12-04 09:23:21 UTC
  • mfrom: (619.2.15 memslap)
  • Revision ID: brian@gaz-20091204092321-uv27f0pzkedvlm0l
Merging in platform fixes for libmemcached.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
#include "config.h"
13
13
 
 
14
#include <inttypes.h>
14
15
#include "ms_stats.h"
15
16
 
16
17
#define array_size(x)    (sizeof(x) / sizeof((x)[0]))
191
192
    {
192
193
      printf("\n      %2d:", (int)i);
193
194
    }
194
 
    printf("   %6ld", stat->dist[i]);
 
195
    printf("   %6" PRIu64 , stat->dist[i]);
195
196
  }
196
197
 
197
198
  printf("\n\n");