vo_gpu_next: cast const away to suppress warning

This commit is contained in:
Kacper Michajłow
2023-10-19 14:03:23 +00:00
committed by Dudemanguy
parent 7e18a46ec2
commit cb48b40bb3
+1 -1
View File
@@ -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