Fix printf format specifiers

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2021-02-23 21:12:14 +01:00
committed by Compute-Runtime-Automation
parent 4894411889
commit bd3862f0e1

View File

@@ -118,7 +118,7 @@ void DrmCommandStreamReceiver<GfxFamily>::printBOsForSubmit(ResidencyContainer &
}
printf("Buffer object for submit\n");
for (const auto &bo : bosForSubmit) {
printf("BO-%d, range: %lx - %lx, size: %ld\n", bo->peekHandle(), bo->peekAddress(), ptrOffset(bo->peekAddress(), bo->peekSize()), bo->peekSize());
printf("BO-%d, range: %" SCNx64 " - %" SCNx64 ", size: %" SCNdPTR "\n", bo->peekHandle(), bo->peekAddress(), ptrOffset(bo->peekAddress(), bo->peekSize()), bo->peekSize());
}
printf("\n");
}