diff --git a/3party/freetype/freetype b/3party/freetype/freetype index d6a5c57727..4eb6cb8818 160000 --- a/3party/freetype/freetype +++ b/3party/freetype/freetype @@ -1 +1 @@ -Subproject commit d6a5c57727643fc7a0d30e10776edf9c2c5956ae +Subproject commit 4eb6cb8818057a022f97176b53738ee3098c8eb6 diff --git a/platform/measurement_utils.cpp b/platform/measurement_utils.cpp index 244740dfc5..67390113fa 100644 --- a/platform/measurement_utils.cpp +++ b/platform/measurement_utils.cpp @@ -250,8 +250,8 @@ string FormatSpeedUnits(Units units) string FormatOsmLink(double lat, double lon, int zoom) { static char char_array[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_~"; - uint32_t const x = round((lon + 180.0) / 360.0 * (1L<<32)); - uint32_t const y = round((lat + 90.0) / 180.0 * (1L<<32)); + uint32_t const x = round((lon + 180.0) / 360.0 * (1UL<<32)); + uint32_t const y = round((lat + 90.0) / 180.0 * (1UL<<32)); uint64_t const code = bits::BitwiseMerge(y, x); string osmUrl = "https://osm.org/go/";