aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2011-03-14 20:04:34 +0000
committerstuconnolly <stuart02@gmail.com>2011-03-14 20:04:34 +0000
commitd2b4123427c21c522b2e4496a6d54eb74aabe62d (patch)
treee49cd8e4c6ba62c8544699ab773b598ea5040167 /Source/SPProcessListController.m
parentf63d1de5460968e5466be02676c8c6f9ed8787b6 (diff)
downloadsequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.tar.gz
sequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.tar.bz2
sequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.zip
Fix more compiler warnings.
Diffstat (limited to 'Source/SPProcessListController.m')
-rw-r--r--Source/SPProcessListController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m
index 3d64e260..8062fd93 100644
--- a/Source/SPProcessListController.m
+++ b/Source/SPProcessListController.m
@@ -468,7 +468,7 @@ static const NSString *SPTableViewIDColumnIdentifier = @"Id";
*/
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
{
- id object = (row < [processesFiltered count]) ? [[processesFiltered objectAtIndex:row] valueForKey:[tableColumn identifier]] : @"";
+ id object = ((NSUInteger)row < [processesFiltered count]) ? [[processesFiltered objectAtIndex:row] valueForKey:[tableColumn identifier]] : @"";
return (![object isNSNull]) ? object : [prefs stringForKey:SPNullValue];
}
@@ -624,7 +624,7 @@ static const NSString *SPTableViewIDColumnIdentifier = @"Id";
- (void)_updateSelectedAutoRefreshIntervalInterface
{
BOOL found = NO;
- NSUInteger interval = [prefs integerForKey:SPProcessListAutoRrefreshInterval];
+ NSInteger interval = [prefs integerForKey:SPProcessListAutoRrefreshInterval];
NSArray *items = [[autoRefreshIntervalMenuItem submenu] itemArray];