From a1098a1e45f4ad74d90261beb6e2594953f25540 Mon Sep 17 00:00:00 2001 From: Michel Zou Date: Thu, 20 Apr 2023 19:10:56 +0200 Subject: [PATCH] mesa/draw: fix -Wformat warning fixes: 5791826b cc @pepp @mareko Part-of: --- src/mesa/main/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c index 8349243ab41..af9e282938b 100644 --- a/src/mesa/main/draw.c +++ b/src/mesa/main/draw.c @@ -1642,7 +1642,7 @@ _mesa_validated_drawrangeelements(struct gl_context *ctx, _mesa_warning(ctx, "Invalid indices offset 0x%" PRIxPTR " (indices buffer size is %ld bytes)" " or unallocated buffer (%u). Draw skipped.", - start, index_bo->Size, !!index_bo->buffer); + start, (long)index_bo->Size, !!index_bo->buffer); return; }