diff options
author | stuconnolly <stuart02@gmail.com> | 2011-03-14 20:04:34 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-03-14 20:04:34 +0000 |
commit | d2b4123427c21c522b2e4496a6d54eb74aabe62d (patch) | |
tree | e49cd8e4c6ba62c8544699ab773b598ea5040167 /Source/SPTableStructureDelegate.m | |
parent | f63d1de5460968e5466be02676c8c6f9ed8787b6 (diff) | |
download | sequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.tar.gz sequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.tar.bz2 sequelpro-d2b4123427c21c522b2e4496a6d54eb74aabe62d.zip |
Fix more compiler warnings.
Diffstat (limited to 'Source/SPTableStructureDelegate.m')
-rw-r--r-- | Source/SPTableStructureDelegate.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableStructureDelegate.m b/Source/SPTableStructureDelegate.m index 3a46b763..98cfc440 100644 --- a/Source/SPTableStructureDelegate.m +++ b/Source/SPTableStructureDelegate.m @@ -43,7 +43,7 @@ - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex { // Return a placeholder if the table is reloading - if (rowIndex >= [tableFields count]) return @"..."; + if ((NSUInteger)rowIndex >= [tableFields count]) return @"..."; if([[tableColumn identifier] isEqualToString:@"collation"]) { NSInteger idx = 0; @@ -98,7 +98,7 @@ currentlyEditingRow = rowIndex; } - NSMutableArray *currentRow = [tableFields objectAtIndex:rowIndex]; + NSMutableDictionary *currentRow = [tableFields objectAtIndex:rowIndex]; // Reset collation if encoding was changed if([[aTableColumn identifier] isEqualToString:@"encoding"]) { |