From c5d79bfb2657798d2663dbabc9ac8c3975fc63fb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 24 Oct 2022 13:02:33 +0200 Subject: region: constify --- include/wlr/types/wlr_region.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h index e731c8b1..62ac85c0 100644 --- a/include/wlr/types/wlr_region.h +++ b/include/wlr/types/wlr_region.h @@ -25,6 +25,6 @@ struct wl_resource; * * To allow clients to create wl_region objects, call wlr_compositor_create(). */ -pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource); +const pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource); #endif -- cgit v1.2.3