From 2f1b8e7168c9110ffa859fd78a11b1cf5dc934ce Mon Sep 17 00:00:00 2001 From: Stephen Date: Fri, 17 Mar 2023 08:55:49 +0000 Subject: [PATCH] changed uint64_t log format to use PRIx64 macro --- src/vabackend.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vabackend.c b/src/vabackend.c index e7c460f..f2080ee 100644 --- a/src/vabackend.c +++ b/src/vabackend.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include @@ -2062,7 +2063,10 @@ static VAStatus nvExportSurfaceHandle( drv->backend->fillExportDescriptor(drv, surface, ptr); - LOG("Exporting with %d %d %d %d %llx %d %d %llx", ptr->width, ptr->height, ptr->layers[0].offset[0], ptr->layers[0].pitch[0], (unsigned long long) ptr->objects[0].drm_format_modifier, ptr->layers[1].offset[0], ptr->layers[1].pitch[0], (unsigned long long) ptr->objects[1].drm_format_modifier); + LOG("Exporting with %d %d %d %d %" PRIx64 " %d %d %" PRIx64, ptr->width, ptr->height, ptr->layers[0].offset[0], + ptr->layers[0].pitch[0], ptr->objects[0].drm_format_modifier, + ptr->layers[1].offset[0], ptr->layers[1].pitch[0], + ptr->objects[1].drm_format_modifier); CHECK_CUDA_RESULT_RETURN(cu->cuCtxPopCurrent(NULL), VA_STATUS_ERROR_OPERATION_FAILED);