Skip to content

Commit

Permalink
Format specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlai-Holler committed Jun 30, 2017
1 parent 0a1c468 commit a0ffc9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/ASTabBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ - (void)setViewControllers:(NSArray<__kindof UIViewController *> *)viewControlle
- (void)setSelectedIndex:(NSUInteger)selectedIndex
{
as_activity_scope(as_activity_create("Set selected index of ASTabBarController", AS_ACTIVITY_CURRENT, OS_ACTIVITY_FLAG_DEFAULT));
as_log_info(ASNodeLog(), "Selected tab %zu of %@", selectedIndex, self);
as_log_info(ASNodeLog(), "Selected tab %tu of %@", selectedIndex, self);

[super setSelectedIndex:selectedIndex];
[self visibilityDepthDidChange];
Expand Down
4 changes: 2 additions & 2 deletions Source/Details/ASElementMap.m
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ - (NSString *)smallDescription
{
NSMutableArray *sectionDescriptions = [NSMutableArray array];

NSInteger i = 0;
NSUInteger i = 0;
for (NSArray *section in _sectionsOfItems) {
[sectionDescriptions addObject:[NSString stringWithFormat:@"<S%zd: %zu>", i, section.count]];
[sectionDescriptions addObject:[NSString stringWithFormat:@"<S%tu: %tu>", i, section.count]];
i++;
}
return ASObjectDescriptionMakeWithoutObject(@[ @{ @"itemCounts": sectionDescriptions }]);
Expand Down

0 comments on commit a0ffc9e

Please sign in to comment.