[vlc-devel] commit: Fix warning on Win64 (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 20:17:21 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 20:17:03 2009 +0200| [5b9a24fe31130d74626a69b0fcc9cc3c184b8784] | committer: Jean-Baptiste Kempf 

Fix warning on Win64

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b9a24fe31130d74626a69b0fcc9cc3c184b8784
---

 src/interface/intf_eject.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/interface/intf_eject.c b/src/interface/intf_eject.c
index 87b9f7c..e661821 100644
--- a/src/interface/intf_eject.c
+++ b/src/interface/intf_eject.c
@@ -167,7 +167,7 @@ int __intf_Eject( vlc_object_t *p_this, const char *psz_device )
     i_flags = MCI_OPEN_TYPE | MCI_OPEN_TYPE_ID |
               MCI_OPEN_ELEMENT | MCI_OPEN_SHAREABLE;
 
-    if( !mciSendCommand( 0, MCI_OPEN, i_flags, (unsigned long)&op ) )
+    if( !mciSendCommand( 0, MCI_OPEN, i_flags, (uintptr_t)&op ) )
     {
         st.dwItem = MCI_STATUS_READY;
         /* Eject disc */




More information about the vlc-devel mailing list