We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f711c7 commit 6b360d6Copy full SHA for 6b360d6
ios/RNFetchBlobFS.m
@@ -760,8 +760,8 @@ +(void) df:(RCTResponseSenderBlock)callback
760
totalSpace = [fileSystemSizeInBytes unsignedLongLongValue];
761
totalFreeSpace = [freeFileSystemSizeInBytes unsignedLongLongValue];
762
callback(@[[NSNull null], @{
763
- @"free" : [NSString stringWithFormat:@"%d", totalFreeSpace],
764
- @"total" : [NSString stringWithFormat:@"%d", totalSpace]
+ @"free" : [NSString stringWithFormat:@"%ld", totalFreeSpace],
+ @"total" : [NSString stringWithFormat:@"%ld", totalSpace]
765
}]);
766
} else {
767
callback(@[@"failed to get storage usage."]);
0 commit comments