]> git.sesse.net Git - vlc/commitdiff
Fix warning on Win64
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Aug 2009 18:17:03 +0000 (20:17 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Aug 2009 18:17:03 +0000 (20:17 +0200)
src/interface/intf_eject.c

index 87b9f7c5089fff2bb5625d947c7032e99216c6ff..e6618218e020179769092b54b1d422d2fa6a5417 100644 (file)
@@ -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 */