Skip to content

Commit 01ccf06

Browse files
Merge pull request #400 from dneto0/issue-399
Use format specifier PRIu64 only with uint64_t types
2 parents ddbd93d + 927c0a8 commit 01ccf06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/vk_mem_alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3042,7 +3042,7 @@ static void vma_aligned_free(void* VMA_NULLABLE ptr)
30423042
}
30433043
static inline void VmaUint64ToStr(char* VMA_NOT_NULL outStr, size_t strLen, uint64_t num)
30443044
{
3045-
snprintf(outStr, strLen, "%" PRIu64, static_cast<unsigned long long>(num));
3045+
snprintf(outStr, strLen, "%" PRIu64, num);
30463046
}
30473047
static inline void VmaPtrToStr(char* VMA_NOT_NULL outStr, size_t strLen, const void* ptr)
30483048
{

0 commit comments

Comments
 (0)