SWDEV-1 - Fix another build warning.

Change-Id: Ifed33732752e9d9ec74a244a0104bf571a9fc6c5
This commit is contained in:
jatang
2022-12-13 10:26:49 -05:00
committed by Jason Tang
parent 5aee3d3018
commit a4fadb191a
+1 -1
View File
@@ -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<void*>(memory->vmAddress()),
reinterpret_cast<void*>(memory->vmAddress() + memory->size()),
memory->iMem()->Desc().size, memory->iMem()->Desc().heaps[0]);