Permalink
Browse files

Fix compiler warning

NSUInteger is unsigned long on 64-bit
  • Loading branch information...
1 parent 280e559 commit 26663413a07280e8752afe568e24cda17d2bfb38 @eofster eofster committed Dec 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/AppController.m
View
@@ -866,7 +866,7 @@ - (void)updateDockTileBadgeLabel {
if (badgeNumber == 0) {
badgeString = @"";
} else {
- badgeString = [NSString stringWithFormat:@"%d", badgeNumber];
+ badgeString = [NSString stringWithFormat:@"%lu", badgeNumber];
}
[[NSApp dockTile] setBadgeLabel:badgeString];

0 comments on commit 2666341

Please sign in to comment.