2498c2498
< params->buckets = rint((max - min) / bkt + 1.0);
---
> params->buckets = (size_type)rint((max - min) / bkt + 1.0);