summaryrefslogtreecommitdiff
path: root/test/util/string.test.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-05-13 17:13:31 -0700
committerKonstantin Käfer <mail@kkaefer.com>2019-05-15 10:55:58 -0700
commit867555b1c9ef51fec23ce77c682cf7d5b5a23c5e (patch)
treede380cbb7f5553282b081dce9202cbe9e502ebe5 /test/util/string.test.cpp
parent1a9e93e8d5fc6fd027160b3126eab03d0809ca69 (diff)
downloadqtlocation-mapboxgl-upstream/gfx-refactor-7.tar.gz
[core] add gfx::UploadPass, split startRender into prepare and uploadupstream/gfx-refactor-7
Diffstat (limited to 'test/util/string.test.cpp')
-rw-r--r--test/util/string.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/string.test.cpp b/test/util/string.test.cpp
index 91e1b93685..f694702e69 100644
--- a/test/util/string.test.cpp
+++ b/test/util/string.test.cpp
@@ -21,9 +21,9 @@ TEST(ToString, FloatingPoint) {
TEST(ToHex, SIZE_T) {
#if INTPTR_MAX == INT32_MAX
- EXPECT_EQ("a715b247", util::toHex((size_t)0xa715b247));
+ EXPECT_EQ("a715b247", util::toHex((uint32_t)0xa715b247));
#elif INTPTR_MAX == INT64_MAX
- EXPECT_EQ("a715b247df38cc29", util::toHex((size_t)0xa715b247df38cc29));
+ EXPECT_EQ("a715b247df38cc29", util::toHex((uint64_t)0xa715b247df38cc29));
#endif
}