mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-28 00:02:49 +08:00
Removed warning
Just a small change to avoid a warning
This commit is contained in:
committed by
Jesse MacFadyen
parent
570bca0e06
commit
fba018ef65
@@ -221,7 +221,7 @@ static CFIndex WriteDataToStream(NSData* data, CFWriteStreamRef stream)
|
||||
}
|
||||
[postBodyBeforeFile appendData:[[NSString stringWithFormat:@"Content-Length: %ld\r\n\r\n", (long)[fileData length]] dataUsingEncoding:NSUTF8StringEncoding]];
|
||||
|
||||
DLog(@"fileData length: %d", [fileData length]);
|
||||
DLog(@"fileData length: %ld", [fileData length]);
|
||||
NSData* postBodyAfterFile = [[NSString stringWithFormat:@"\r\n--%@--\r\n", kFormBoundary] dataUsingEncoding:NSUTF8StringEncoding];
|
||||
|
||||
long long totalPayloadLength = [fileData length];
|
||||
|
||||
Reference in New Issue
Block a user