]> git.sesse.net Git - vlc/blobdiff - bindings/python/vlc_mediacontrol.c
Qt4 - Ambiguous shortcut overload: Ctrl+ P
[vlc] / bindings / python / vlc_mediacontrol.c
index bf4203688d101f5ab3b8e83b5ea20ba6fb10f311..085cb854fd8f387188636baff2b12debb37e7a86 100644 (file)
@@ -2,7 +2,7 @@
  * vlc_mediacontrol.c: vlc.MediaControl binding
  *****************************************************************************
  * Copyright (C) 2006 the VideoLAN team
- * $Id$
+ * $Id$
  *
  * Authors: Olivier Aubert <oaubert at bat710.univ-lyon1.fr>
  *
@@ -36,7 +36,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
     PyObject* py_param = NULL;
     char** ppsz_args = NULL;
     libvlc_instance_t* p_instance = NULL;
-    int i_size = 0;
+    Py_ssize_t i_size = 0;
     
     self = PyObject_New( MediaControl, &MediaControl_Type );
 
@@ -49,7 +49,7 @@ MediaControl_new( PyTypeObject *type, PyObject *args, PyObject *kwds )
         }
         else
         {
-            int i_index;
+            Py_ssize_t i_index;
 
             if( ! PySequence_Check( py_param ) )
             {
@@ -341,8 +341,8 @@ MediaControl_playlist_get_list( PyObject *self, PyObject *args )
     PyObject *py_retval;
     mediacontrol_Exception *exception = NULL;
     mediacontrol_PlaylistSeq* pl;
-    int i_index;
-    int i_playlist_size;
+    Py_ssize_t i_index;
+    Py_ssize_t i_playlist_size;
 
     Py_BEGIN_ALLOW_THREADS
     MC_TRY;