diff --git a/src/cgeohash.cpp b/src/cgeohash.cpp index 167b490..be9e050 100644 --- a/src/cgeohash.cpp +++ b/src/cgeohash.cpp @@ -59,7 +59,7 @@ const std::map build_base32_indexes() { std::map output; - for(int i = 0, max = 36; i < max; i++) { + for(int i = 0, max = 32; i < max; i++) { output.insert( std::pair(base32_codes[i], i) ); }