[vlc-commits] compilation fix

Felix Paul Kühne git at videolan.org
Mon Aug 15 02:19:03 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Aug 15 02:18:55 2011 +0200| [f62b7be056c8ffb6c69a338815fc7d7078367aa7] | committer: Felix Paul Kühne

compilation fix

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

 modules/access/qtcapture.m |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index 5ae7cc5..10fd45e 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -246,11 +246,12 @@ static int Open( vlc_object_t *p_this )
 
         goto error;
     }
+    NSUInteger ivideo;
     NSUInteger deviceCount = [myVideoDevices count];
-    for(NSUInteger ivideo = 0; ivideo < deviceCount; ivideo++){
+    for(ivideo = 0; ivideo < deviceCount; ivideo++){
         QTCaptureDevice *qtk_device;
         qtk_device = [myVideoDevices objectAtIndex:ivideo];
-        msg_Dbg( p_demux, "qtcapture %d/%lu %s %s", ivideo, deviceCount, [[qtk_device localizedDisplayName] UTF8String], [[qtk_device uniqueID] UTF8String]);
+        msg_Dbg( p_demux, "qtcapture %lu/%lu %s %s", ivideo, deviceCount, [[qtk_device localizedDisplayName] UTF8String], [[qtk_device uniqueID] UTF8String]);
         if([[[qtk_device uniqueID]stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] isEqualToString:qtk_currdevice_uid]){
             break;
         }



More information about the vlc-commits mailing list