From: Date: Mon, 21 Apr 2008 18:21:12 +0000 (-0700) Subject: Fixed wrong strtol for stat. X-Git-Tag: 0.20~1^2~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=306cfb7073992c642c66fd84692023bfc7cf2a59;p=awesomized%2Flibmemcached Fixed wrong strtol for stat. --- 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)) {