Commit 49bee836 authored by Tobias's avatar Tobias Committed by Felix Paul Kühne

fix some more warning

parent ce1383cd
......@@ -28,7 +28,7 @@
@property (nonatomic, readwrite) BOOL isAuthorized;
@property (nonatomic, readonly) NSArray *currentListFiles;
+ (VLCCloudStorageController *)sharedInstance;
+ (instancetype)sharedInstance;
- (void)startSession;
- (void)logout;
......
......@@ -39,7 +39,7 @@
#pragma mark - session handling
+ (VLCCloudStorageController *)sharedInstance
+ (instancetype)sharedInstance
{
static VLCGoogleDriveController *sharedInstance = nil;
static dispatch_once_t pred;
......
......@@ -1180,7 +1180,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
if (mediaPlayer.audioTrackIndexes.count > 2 && section == 0) {
indexArray = mediaPlayer.audioTrackIndexes;
if ([indexArray indexOfObjectIdenticalTo:[NSNumber numberWithInt:mediaPlayer.currentAudioTrackIndex]] == row)
if ([indexArray indexOfObjectIdenticalTo:[NSNumber numberWithUnsignedInteger:mediaPlayer.currentAudioTrackIndex]] == row)
[cell setShowsCurrentTrack:YES];
else
[cell setShowsCurrentTrack:NO];
......@@ -1189,7 +1189,7 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
} else {
indexArray = mediaPlayer.videoSubTitlesIndexes;
if ([indexArray indexOfObjectIdenticalTo:[NSNumber numberWithInt:mediaPlayer.currentVideoSubTitleIndex]] == row)
if ([indexArray indexOfObjectIdenticalTo:[NSNumber numberWithUnsignedInteger:mediaPlayer.currentVideoSubTitleIndex]] == row)
[cell setShowsCurrentTrack:YES];
else
[cell setShowsCurrentTrack:NO];
......
......@@ -753,7 +753,7 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath
{
if (SYSTEM_RUNS_IOS7_OR_LATER) {
if (UIDeviceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation))
if (UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation))
return CGSizeMake(341., 190.);
else
return CGSizeMake(384., 216.);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment