SWDEV-1 - Fix a build warning.

Change-Id: I085fcc68ef3aaebf85515ea45fca99d7ec845721


[ROCm/clr commit: c825d06454]
This commit is contained in:
Jason Tang
2022-11-30 11:07:15 -05:00
والد e4e12ab1c4
کامیت 310f43e9e3
@@ -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<void*>(memory->vmAddress()),
reinterpret_cast<void*>(memory->vmAddress() + memory->size()),
memory->iMem()->Desc().size, memory->iMem()->Desc().heaps[0]);