Skip to content
This repository
  • 3 commits
  • 1 file changed
  • 0 comments
  • 2 contributors

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  DIOSNode.m
4  DIOSNode.m
@@ -111,8 +111,8 @@ + (void)nodeAttachFile:(NSDictionary *)params
111 111
   }];
112 112
   
113 113
   AFHTTPRequestOperation *operation = [[AFHTTPRequestOperation alloc] initWithRequest:request];
114  
-  [operation setUploadProgressBlock:^(NSInteger bytesWritten, long long totalBytesWritten, long long totalBytesExpectedToWrite) {
115  
-    NSLog(@"Sent %qi of %qi bytes", totalBytesWritten, totalBytesExpectedToWrite);
  114
+  [operation setUploadProgressBlock:^(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {
  115
+    NSLog(@"Sent %d of %d bytes", totalBytesWritten, totalBytesExpectedToWrite);
116 116
   }];
117 117
   [operation setCompletionBlockWithSuccess:success failure:failure];
118 118
   [operation start];

No commit comments for this range

Something went wrong with that request. Please try again.