mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
Merge pull request #400 from dneto0/issue-399
Use format specifier PRIu64 only with uint64_t types
This commit is contained in:
commit
01ccf06e4c
@ -3042,7 +3042,7 @@ static void vma_aligned_free(void* VMA_NULLABLE ptr)
|
||||
}
|
||||
static inline void VmaUint64ToStr(char* VMA_NOT_NULL outStr, size_t strLen, uint64_t num)
|
||||
{
|
||||
snprintf(outStr, strLen, "%" PRIu64, static_cast<unsigned long long>(num));
|
||||
snprintf(outStr, strLen, "%" PRIu64, num);
|
||||
}
|
||||
static inline void VmaPtrToStr(char* VMA_NOT_NULL outStr, size_t strLen, const void* ptr)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user