From 882a17068fd8e62c7d38c14e6fb160d7c9fc446a Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 23 Oct 2022 20:51:42 +0200 Subject: [PATCH] lavu/hwcontext_vaapi: Fix type specifier for uintptr_t Fixes a format specifier warning on x86_32 Linux. Fixes part of ticket #9986. --- libavutil/hwcontext_vaapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 9ba5225ad2..4bcde74f62 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@ -1511,7 +1511,7 @@ static int vaapi_map_to_drm_abh(AVHWFramesContext *hwfc, AVFrame *dst, goto fail_derived; } - av_log(hwfc, AV_LOG_DEBUG, "DRM PRIME fd is %ld.\n", + av_log(hwfc, AV_LOG_DEBUG, "DRM PRIME fd is %"PRIdPTR".\n", mapping->buffer_info.handle); mapping->drm_desc.nb_objects = 1;