@@ -692,7 +692,8 @@ - (GTLRServiceTicket *)fetchObjectWithURL:(NSURL *)targetURL
692
692
if (loggingName.length > 0 ) {
693
693
NSUInteger pageNumber = ticket.pagesFetchedCounter + 1 ;
694
694
if (pageNumber > 1 ) {
695
- loggingName = [loggingName stringByAppendingFormat: @" , page %tu " , pageNumber];
695
+ loggingName = [loggingName stringByAppendingFormat: @" , page %lu " ,
696
+ (unsigned long )pageNumber];
696
697
}
697
698
fetcher.comment = loggingName;
698
699
}
@@ -1028,11 +1029,12 @@ - (GTLRServiceTicket *)executeBatchQuery:(GTLRBatchQuery *)batchObj
1028
1029
NSUInteger pageNumber = ticket.pagesFetchedCounter ;
1029
1030
NSString *pageStr = @" " ;
1030
1031
if (pageNumber > 0 ) {
1031
- pageStr = [NSString stringWithFormat: @" page %tu , " , pageNumber + 1 ];
1032
+ pageStr = [NSString stringWithFormat: @" page %lu , " ,
1033
+ (unsigned long )(pageNumber + 1 )];
1032
1034
}
1033
- batchCopy.loggingName = [NSString stringWithFormat: @" batch: %@ (%@ %tu queries)" ,
1035
+ batchCopy.loggingName = [NSString stringWithFormat: @" batch: %@ (%@ %lu queries)" ,
1034
1036
[loggingNames.allObjects componentsJoinedByString: @" , " ],
1035
- pageStr, numberOfQueries];
1037
+ pageStr, ( unsigned long ) numberOfQueries];
1036
1038
}
1037
1039
#endif
1038
1040
@@ -1371,8 +1373,9 @@ - (void)handleParsedObjectForFetcher:(GTMSessionFetcher *)fetcher
1371
1373
} else {
1372
1374
queryLabel = [[executingQuery class ] description ];
1373
1375
}
1374
- GTLR_DEBUG_LOG (@" Executing %@ query required fetching %tu pages; use a query with"
1375
- @" a larger maxResults for faster results" , queryLabel, pageCount);
1376
+ GTLR_DEBUG_LOG (@" Executing %@ query required fetching %lu pages; use a query with"
1377
+ @" a larger maxResults for faster results" ,
1378
+ queryLabel, (unsigned long )pageCount);
1376
1379
}
1377
1380
#endif
1378
1381
} // nextPageQuery
@@ -2668,7 +2671,8 @@ - (void)cancelTicket {
2668
2671
- (void )startBackgroundTask {
2669
2672
#if GTM_BACKGROUND_TASK_FETCHING
2670
2673
GTLR_DEBUG_ASSERT (self.backgroundTaskIdentifier == UIBackgroundTaskInvalid,
2671
- @" Redundant GTLRService background task: %tu " , self.backgroundTaskIdentifier );
2674
+ @" Redundant GTLRService background task: %lu " ,
2675
+ (unsigned long )self.backgroundTaskIdentifier );
2672
2676
2673
2677
NSString *taskName = [[self .executingQuery class ] description ];
2674
2678
0 commit comments