From cb48b40bb3faeffc0d08481b2a37af39d2128260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Mon, 18 Sep 2023 15:47:18 +0200 Subject: [PATCH] vo_gpu_next: cast const away to suppress warning --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 14bd15bf9a..4ed0224ff4 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1245,7 +1245,7 @@ static bool update_icc(struct priv *p, struct bstr icc) return ok; #else talloc_free((void *) p->icc_profile.data); - profile.data = talloc_steal(p, profile.data); + profile.data = talloc_steal(p, (void *) profile.data); p->icc_profile = profile; return true; #endif