vo_gpu_next: cast const away to suppress warning

This commit is contained in:
Kacper Michajłow 2023-09-18 15:47:18 +02:00 committed by Dudemanguy
parent 7e18a46ec2
commit cb48b40bb3
1 changed files with 1 additions and 1 deletions

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