Browse Source

library: fix compilation warning

Felix Paul Kühne 11 years ago
parent
commit
39f10330de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCLibrary.m

+ 1 - 1
Sources/VLCLibrary.m

@@ -81,7 +81,7 @@ static VLCLibrary * sharedLibrary = nil;
     NSArray *allOptions = options ? [[self _defaultOptions] arrayByAddingObjectsFromArray:options] : [self _defaultOptions];
 
     NSUInteger paramNum = 0;
-    NSUInteger count = allOptions.count;
+    int count = (int)allOptions.count;
     const char *lib_vlc_params[count];
     while (paramNum < count) {
         lib_vlc_params[paramNum] = [allOptions[paramNum] cStringUsingEncoding:NSASCIIStringEncoding];