mirror of https://github.com/mpv-player/mpv
vo_gpu_next: cast const away to suppress warning
This commit is contained in:
parent
7e18a46ec2
commit
cb48b40bb3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue