[vlc-commits] windowed mac plugin: fix compilation warning on older compilers
Felix Paul Kühne
git at videolan.org
Wed Jan 16 13:47:08 CET 2013
npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 16 13:47:04 2013 +0100| [793da00c19520984e6ef36674d570c443a4e37de] | committer: Felix Paul Kühne
windowed mac plugin: fix compilation warning on older compilers
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=793da00c19520984e6ef36674d570c443a4e37de
---
npapi/vlcplugin_mac.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index 72b80bd..05d91c7 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -468,7 +468,7 @@ bool VlcPluginMac::handle_event(void *event)
if (media_width == 0. || media_height == 0.)
return;
- NSRect layerRect = self.bounds;
+ CGRect layerRect = self.bounds;
float display_width = 0.;
float display_height = 0.;
More information about the vlc-commits
mailing list