mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-05 00:04:17 +08:00
Fixed build warnings
This commit is contained in:
@@ -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:@{
|
||||
|
||||
Reference in New Issue
Block a user