Fixed build warnings

This commit is contained in:
Pierre-Olivier Latour
2017-08-21 08:28:19 +02:00
parent 4ea0a12317
commit 257ed94b65
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ NS_ASSUME_NONNULL_END
[array addObject:@{
@"path" : [relativePath stringByAppendingPathComponent:item],
@"name" : item,
@"size" : [attributes objectForKey:NSFileSize]
@"size" : (NSNumber*)[attributes objectForKey:NSFileSize]
}];
} else if ([type isEqualToString:NSFileTypeDirectory]) {
[array addObject:@{