[vlc-commits] macosx: Use VLC_OBJECT instead of vlc_object_t cast
Marvin Scholz
git at videolan.org
Wed Mar 27 23:47:57 CET 2019
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Mar 27 23:19:02 2019 +0100| [c0248833a2e550c2665ea923a186970e3bee03bb] | committer: Marvin Scholz
macosx: Use VLC_OBJECT instead of vlc_object_t cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c0248833a2e550c2665ea923a186970e3bee03bb
---
modules/gui/macosx/windows/addons/VLCAddonsWindowController.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/windows/addons/VLCAddonsWindowController.m b/modules/gui/macosx/windows/addons/VLCAddonsWindowController.m
index d4911eb0fd..a71ccb1393 100644
--- a/modules/gui/macosx/windows/addons/VLCAddonsWindowController.m
+++ b/modules/gui/macosx/windows/addons/VLCAddonsWindowController.m
@@ -140,7 +140,7 @@ static void addonChangedCallback( addons_manager_t *manager,
addonChangedCallback,
};
- _manager = addons_manager_New((vlc_object_t *)getIntf(), &owner);
+ _manager = addons_manager_New(VLC_OBJECT(getIntf()), &owner);
if (!_manager)
return;
More information about the vlc-commits
mailing list