You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2017/07/11 23:21:06 UTC

[2/2] cordova-plugin-file-transfer git commit: Removed warning

Removed warning

Just a small change to avoid a warning

Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/fba018ef
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/fba018ef
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/fba018ef

Branch: refs/heads/master
Commit: fba018ef6543a250f8b5875f682c52a961d9564e
Parents: 570bca0
Author: Luca Torella <lu...@gmail.com>
Authored: Wed Nov 2 09:24:47 2016 +0100
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Jul 11 16:20:48 2017 -0700

----------------------------------------------------------------------
 src/ios/CDVFileTransfer.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/fba018ef/src/ios/CDVFileTransfer.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVFileTransfer.m b/src/ios/CDVFileTransfer.m
index ab59012..d0584ad 100644
--- a/src/ios/CDVFileTransfer.m
+++ b/src/ios/CDVFileTransfer.m
@@ -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];


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org