From b9cb9b64ed43bddb9a1b3a6d5092e23c39ee9b08 Mon Sep 17 00:00:00 2001 From: jatang Date: Tue, 13 Dec 2022 10:26:49 -0500 Subject: [PATCH] SWDEV-1 - Fix another build warning. Change-Id: Ifed33732752e9d9ec74a244a0104bf571a9fc6c5 [ROCm/clr commit: a4fadb191a18799aa9dfe7ad97199f4ccf03f9f0] --- projects/clr/rocclr/device/pal/palvirtual.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/clr/rocclr/device/pal/palvirtual.hpp b/projects/clr/rocclr/device/pal/palvirtual.hpp index e5d687daee..1bbfe8e960 100644 --- a/projects/clr/rocclr/device/pal/palvirtual.hpp +++ b/projects/clr/rocclr/device/pal/palvirtual.hpp @@ -699,7 +699,7 @@ class VirtualGPU : public device::VirtualDevice { inline void VirtualGPU::logVmMemory(const std::string name, const Memory* memory) { if (PAL_EMBED_KERNEL_MD || (AMD_LOG_LEVEL >= amd::LOG_INFO)) { char buf[256]; - sprintf(buf, "%s = ptr:[%p-%p] size:[%lu] heap[%d]", name.c_str(), + sprintf(buf, "%s = ptr:[%p-%p] size:[%llu] heap[%d]", name.c_str(), reinterpret_cast(memory->vmAddress()), reinterpret_cast(memory->vmAddress() + memory->size()), memory->iMem()->Desc().size, memory->iMem()->Desc().heaps[0]);