diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-15 02:21:09 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-15 02:21:09 +0000 |
commit | ce26c1a8d44743c418e6af461ba970cea3afaaee (patch) | |
tree | f2b8178cea628cd023e4c3183693d05aa44e50ac /Source/SPContentFilterManager.m | |
parent | d2b4123427c21c522b2e4496a6d54eb74aabe62d (diff) | |
download | sequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.tar.gz sequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.tar.bz2 sequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.zip |
- Fix more compiler warnings
- Tweak README
Diffstat (limited to 'Source/SPContentFilterManager.m')
-rw-r--r-- | Source/SPContentFilterManager.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPContentFilterManager.m b/Source/SPContentFilterManager.m index d08bb241..edbed353 100644 --- a/Source/SPContentFilterManager.m +++ b/Source/SPContentFilterManager.m @@ -171,7 +171,7 @@ // Take all content filters until the next header or end of all content filters NSUInteger numOfArgs; - for(i; i<[contentFilters count]; i++) { + for ( ; i<[contentFilters count]; i++) { if(![[contentFilters objectAtIndex:i] objectForKey:@"headerOfFileURL"]) { NSMutableDictionary *d = [[NSMutableDictionary alloc] init]; @@ -609,7 +609,7 @@ originalRow += offset; // For safety reasons - if(originalRow > [contentFilters count]-1) originalRow = [contentFilters count] - 1; + if(originalRow > (NSInteger)[contentFilters count]-1) originalRow = [contentFilters count] - 1; NSMutableDictionary *draggedRow = [NSMutableDictionary dictionaryWithDictionary:[contentFilters objectAtIndex:originalRow]]; [contentFilters removeObjectAtIndex:originalRow]; |