diff --git a/src/algorithms/PVT/libs/geohash.cc b/src/algorithms/PVT/libs/geohash.cc index 33f14c705..ecc1f6f3a 100644 --- a/src/algorithms/PVT/libs/geohash.cc +++ b/src/algorithms/PVT/libs/geohash.cc @@ -151,7 +151,7 @@ std::array Geohash::bounds(std::string geohash) const for (char chr : geohash) { - int idx = base32.find(chr); + auto idx = static_cast(base32.find(chr)); if (idx == -1) { throw std::runtime_error("Invalid geohash");