API: cache_capacity should use uint for summing
API: cache_capacity should use uint for summing

Using integer as a type for the map_reduce causes number over overflow.

Fixes #1801

Signed-off-by: Amnon Heiman <ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@scylladb.com>
Message-Id: <1479299425-782-1-git-send-email-ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@scylladb.com>

avikivity/scylla,scylladb/scylla,raphaelsc/scylla,scylladb/scylla,duarten/scylla,duarten/scylla,raphaelsc/scylla,avikivity/scylla,scylladb/scylla,raphaelsc/scylla,avikivity/scylla,scylladb/scylla,duarten/scylla