From 39caecee6141dd6eb6cf46a97a979fd3d0ec5255 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Fri, 22 May 2026 15:17:03 +0300 Subject: [PATCH] tests/vertex-clip: add const When I make the test harness more type-safe, this would fail to build. Add the missing const. Signed-off-by: Pekka Paalanen --- tests/vertex-clip-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vertex-clip-test.c b/tests/vertex-clip-test.c index 5108aa25a..526bc33c2 100644 --- a/tests/vertex-clip-test.c +++ b/tests/vertex-clip-test.c @@ -695,7 +695,7 @@ static const struct vertex_clip_test_data quad_clip_expected_data[] = { TEST_P(quad_clip_expected, quad_clip_expected_data) { - struct vertex_clip_test_data *tdata = data; + const struct vertex_clip_test_data *tdata = data; struct clipper_vertex clipped[8]; struct clipper_quad quad; int clipped_n; @@ -750,7 +750,7 @@ static const struct vertex_clip_test_data quad_clip_box32_expected_data[] = { TEST_P(quad_clip_box32_expected, quad_clip_box32_expected_data) { - struct vertex_clip_test_data *tdata = data; + const struct vertex_clip_test_data *tdata = data; struct clipper_vertex clipped[8]; struct clipper_quad quad; int clipped_n;