diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:38:23 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:38:23 +0000 |
commit | 761a00170b4a511e4dd615a208da1ee93a6b1a1e (patch) | |
tree | 57531ed23925153b42f76e3b510a895108ae22ce /Source/DMLocalizedNibBundle.m | |
parent | 4ffd7b043ca505e52b7f1c5a463e02534997c197 (diff) | |
download | sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.gz sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.bz2 sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.zip |
fixed compiler warnings
Diffstat (limited to 'Source/DMLocalizedNibBundle.m')
-rw-r--r-- | Source/DMLocalizedNibBundle.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DMLocalizedNibBundle.m b/Source/DMLocalizedNibBundle.m index f4922be6..c5d32daa 100644 --- a/Source/DMLocalizedNibBundle.m +++ b/Source/DMLocalizedNibBundle.m @@ -177,13 +177,13 @@ static NSMutableArray *deliciousBindingKeys = nil; } } else if ([view isKindOfClass:[NSTableView class]]) { - for (NSTableColumn *column in [view tableColumns]) { + for (NSTableColumn *column in [(NSTableView*)view tableColumns]) { [self _localizeStringValueOfObject:[column headerCell] table:table]; } } else if ([view isKindOfClass:[NSTextField class]]) { NSDictionary *vb; - if (vb = [view infoForBinding:@"value"]) { + if ((vb = [view infoForBinding:@"value"])) { NSMutableDictionary *lvb = [NSMutableDictionary dictionaryWithDictionary:[vb objectForKey:NSOptionsKey]]; for (NSString *bindingKey in deliciousBindingKeys) { if ([lvb objectForKey:bindingKey] == [NSNull null]) continue; |