diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2018-01-30 13:28:08 +0100 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2018-02-19 14:34:47 -0800 |
commit | c85e5e422dc0b5bc2ce3874081a51ecc29dcaebb (patch) | |
tree | c31f30d8dd97dd3cbcfc5e0507ae059a316c3fe2 /items.c | |
parent | ddd3fcdc39b9df318ff97639a3f181905afb4155 (diff) | |
download | memcached-c85e5e422dc0b5bc2ce3874081a51ecc29dcaebb.tar.gz |
fix gcc warnings
Diffstat (limited to 'items.c')
-rw-r--r-- | items.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -930,7 +930,7 @@ void item_stats_sizes(ADD_STAT add_stats, void *c) { int i; for (i = 0; i < stats_sizes_buckets; i++) { if (stats_sizes_hist[i] != 0) { - char key[8]; + char key[12]; snprintf(key, sizeof(key), "%d", i * 32); APPEND_STAT(key, "%u", stats_sizes_hist[i]); } |