vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Dec 6 13:43:17 2011 +0100| [8bbb90cc4a94f645f4096a14af0b948ae8f90e4b] | committer: Jean-Baptiste Kempf
MacOS: fix getVideoViewAtPositionX Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8bbb90cc4a94f645f4096a14af0b948ae8f90e4b --- modules/gui/macosx/intf.m | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 03a6e1e..ea90bd7 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -1581,10 +1581,10 @@ unsigned int CocoaKeyToVLC( unichar i_key ) int i_y = (int)videoRect.origin.y; unsigned int i_width = (int)videoRect.size.width; unsigned int i_height = (int)videoRect.size.height; - pi_x = (int *)i_x; - pi_y = (int *)i_y; - pi_width = (unsigned int*)i_width; - pi_height = (unsigned int*)i_height; + pi_x = &i_x; + pi_y = &i_y; + pi_width = &i_width; + pi_height = &i_height; msg_Dbg( VLCIntf, "returning videoview with x=%i, y=%i, width=%i, height=%i", i_x, i_y, i_width, i_height ); return videoView; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
