mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
vo_gpu_next: cast const away to suppress warning
This commit is contained in:
committed by
Dudemanguy
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
|
||||
|
||||
Reference in New Issue
Block a user