From 306cfb7073992c642c66fd84692023bfc7cf2a59 Mon Sep 17 00:00:00 2001 From: Date: Mon, 21 Apr 2008 11:21:12 -0700 Subject: [PATCH] Fixed wrong strtol for stat. --- libmemcached/memcached_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemcached/memcached_stats.c b/libmemcached/memcached_stats.c index a1ef99f3..3abc9b19 100644 --- a/libmemcached/memcached_stats.c +++ b/libmemcached/memcached_stats.c @@ -130,7 +130,7 @@ static void set_data(memcached_stat_st *stat, char *key, char *value) } else if (!strcmp("limit_maxbytes", key)) { - stat->limit_maxbytes= strtol(value, (char **)NULL, 10); + stat->limit_maxbytes= strtoll(value, (char **)NULL, 10); } else if (!strcmp("threads", key)) { -- 2.30.2