From 310f43e9e3a02e11ec53fc5bbf0d7a813547b978 Mon Sep 17 00:00:00 2001 From: Jason Tang Date: Wed, 30 Nov 2022 11:07:15 -0500 Subject: [PATCH] SWDEV-1 - Fix a build warning. Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721 [ROCm/clr commit: c825d06454621ae184640396a0c0df622e1abba0] --- 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 7a3b562d8f..bacc2b400d 100644 --- a/projects/clr/rocclr/device/pal/palvirtual.hpp +++ b/projects/clr/rocclr/device/pal/palvirtual.hpp @@ -697,7 +697,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:[%lld] heap[%d]", name.c_str(), + sprintf(buf, "%s = ptr:[%p-%p] size:[%lu] heap[%d]", name.c_str(), reinterpret_cast(memory->vmAddress()), reinterpret_cast(memory->vmAddress() + memory->size()), memory->iMem()->Desc().size, memory->iMem()->Desc().heaps[0]);