@@ -46,7 +46,7 @@ +(void) uploadAttachment:(TSMessage*) message {
4646 break ;
4747 }
4848 } failure: ^(AFHTTPRequestOperation *uploadOperation, NSError *uploadError) {
49- DLog (@" failure with uploading file, %d , %@ " ,uploadOperation.response .statusCode ,uploadOperation.response .description );
49+ DLog (@" failure with uploading file, %ld , %@ " ,( long ) uploadOperation.response .statusCode ,uploadOperation.response .description );
5050
5151
5252 }];
@@ -61,7 +61,7 @@ +(void) uploadAttachment:(TSMessage*) message {
6161 }
6262 } failure: ^(AFHTTPRequestOperation *operation, NSError *error) {
6363#warning Add error handling if not able to send the token
64- DLog (@" failure allocated upload location %d , %@ " ,operation.response .statusCode ,operation.response .description );
64+ DLog (@" failure allocated upload location %ld , %@ " ,( long ) operation.response .statusCode ,operation.response .description );
6565 }];
6666 }
6767}
@@ -102,7 +102,7 @@ +(void) downloadAttachment:(TSMessage*) message {
102102 break ;
103103 }
104104 } failure: ^(AFHTTPRequestOperation *downloadOperation, NSError *downloadError) {
105- DLog (@" failure with uploading file, %d , %@ " ,downloadOperation.response .statusCode ,downloadOperation.response .description );
105+ DLog (@" failure with uploading file, %ld , %@ " ,( long ) downloadOperation.response .statusCode ,downloadOperation.response .description );
106106
107107
108108 }];
@@ -114,7 +114,7 @@ +(void) downloadAttachment:(TSMessage*) message {
114114 }
115115 }failure: ^(AFHTTPRequestOperation *operation, NSError *error) {
116116
117- DLog (@" failure attachment %d , %@ " ,operation.response .statusCode ,operation.response .description );
117+ DLog (@" failure attachment %ld , %@ " ,( long ) operation.response .statusCode ,operation.response .description );
118118
119119
120120 }];
0 commit comments