uintptr -> fallback_uintptr to avoid confusion with uintptr_t

This commit is contained in:
Victor Zverovich
2019-06-14 18:47:36 -07:00
parent f03a6c5325
commit e29708ee57
3 changed files with 6 additions and 6 deletions

View File

@@ -259,7 +259,7 @@ TEST(UtilTest, CountDigits) {
TEST(UtilTest, WriteUIntPtr) {
fmt::memory_buffer buf;
fmt::writer writer(buf);
writer.write_pointer(fmt::internal::bit_cast<fmt::internal::uintptr>(
writer.write_pointer(fmt::internal::bit_cast<fmt::internal::fallback_uintptr>(
reinterpret_cast<void*>(0xface)),
nullptr);
EXPECT_EQ("0xface", to_string(buf));