summaryrefslogtreecommitdiff
path: root/src/mbgl/util/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/string.cpp')
-rw-r--r--src/mbgl/util/string.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mbgl/util/string.cpp b/src/mbgl/util/string.cpp
index 5d3e44bff6..6f7e02e5e2 100644
--- a/src/mbgl/util/string.cpp
+++ b/src/mbgl/util/string.cpp
@@ -80,7 +80,11 @@ std::string toPaddedHex(T x) {
} // namespace
-std::string toHex(size_t value) {
+std::string toHex(uint32_t value) {
+ return toPaddedHex(value);
+}
+
+std::string toHex(uint64_t value) {
return toPaddedHex(value);
}