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

@@ -229,7 +229,7 @@ FMT_FUNC void system_error::init(int err_code, string_view format_str,
namespace internal {
template <> FMT_FUNC int count_digits<4>(internal::uintptr n) {
template <> FMT_FUNC int count_digits<4>(internal::fallback_uintptr n) {
// Assume little endian; pointer formatting is implementation-defined anyway.
int i = static_cast<int>(sizeof(void*)) - 1;
while (i > 0 && n.value[i] == 0) --i;