diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-09-18 15:47:18 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-19 14:03:23 +0000 |
commit | cb48b40bb3faeffc0d08481b2a37af39d2128260 (patch) | |
tree | a6b8102887f37f0960f087b5fa74029c2b1944f1 /video | |
parent | 7e18a46ec213535bb5712b6df7048aa490653761 (diff) | |
download | mpv-cb48b40bb3faeffc0d08481b2a37af39d2128260.tar.bz2 mpv-cb48b40bb3faeffc0d08481b2a37af39d2128260.tar.xz |
vo_gpu_next: cast const away to suppress warning
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_gpu_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |