diff --git a/video/out/hwdec/dmabuf_interop_wl.c b/video/out/hwdec/dmabuf_interop_wl.c index 606a0aa601d82..78baf146f04b6 100644 --- a/video/out/hwdec/dmabuf_interop_wl.c +++ b/video/out/hwdec/dmabuf_interop_wl.c @@ -46,7 +46,7 @@ static bool map(struct ra_hwdec_mapper *mapper, return false; } else if (!ra_compatible_format(mapper->ra, drm_format, mapper_p->desc.objects[0].format_modifier)) { - MP_VERBOSE(mapper, "Mapped surface with format %s; drm format '%s(%016lx)' " + MP_VERBOSE(mapper, "Mapped surface with format %s; drm format '%s(%016" PRIx64 ")' " "is not supported by compositor.\n", mp_imgfmt_to_name(mapper->src->params.hw_subfmt), mp_tag_str(drm_format), @@ -54,7 +54,7 @@ static bool map(struct ra_hwdec_mapper *mapper, return false; } - MP_VERBOSE(mapper, "Supported Wayland display format %s: '%s(%016lx)'\n", + MP_VERBOSE(mapper, "Supported Wayland display format %s: '%s(%016" PRIx64 ")'\n", mp_imgfmt_to_name(mapper->src->params.hw_subfmt), mp_tag_str(drm_format), mapper_p->desc.objects[0].format_modifier); diff --git a/video/out/vo_dmabuf_wayland.c b/video/out/vo_dmabuf_wayland.c index b02833cb6d8bd..d18ebc7d291b4 100644 --- a/video/out/vo_dmabuf_wayland.c +++ b/video/out/vo_dmabuf_wayland.c @@ -203,7 +203,7 @@ static void vaapi_dmabuf_importer(struct buffer *buf, struct mp_image *src, } buf->drm_format = desc.layers[layer_no].drm_format; if (!ra_compatible_format(p->ctx->ra, buf->drm_format, desc.objects[0].drm_format_modifier)) { - MP_VERBOSE(vo, "%s(%016lx) is not supported.\n", + MP_VERBOSE(vo, "%s(%016" PRIx64 ") is not supported.\n", mp_tag_str(buf->drm_format), desc.objects[0].drm_format_modifier); buf->drm_format = 0; goto done; @@ -685,7 +685,7 @@ static int reconfig(struct vo *vo, struct mp_image *img) } if (!ra_compatible_format(p->ctx->ra, p->drm_format, p->drm_modifier)) { - MP_ERR(vo, "Format '%s' with modifier '(%016lx)' is not supported by" + MP_ERR(vo, "Format '%s' with modifier '(%016" PRIx64 ")' is not supported by" " the compositor.\n", mp_tag_str(p->drm_format), p->drm_modifier); return VO_ERROR; }