aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPMenuAdditions.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-03-04 00:38:30 +0000
committerrowanbeentje <rowan@beent.je>2011-03-04 00:38:30 +0000
commit994756398decf77738afb3c599d4cb9238c77cee (patch)
tree6fef724448931d438e553d98096a8f20cbf6751b /Source/SPMenuAdditions.m
parent6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (diff)
downloadsequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.gz
sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.bz2
sequelpro-994756398decf77738afb3c599d4cb9238c77cee.zip
- Fix more compiler warnings
Diffstat (limited to 'Source/SPMenuAdditions.m')
-rw-r--r--Source/SPMenuAdditions.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPMenuAdditions.m b/Source/SPMenuAdditions.m
index 45bde232..d653f71a 100644
--- a/Source/SPMenuAdditions.m
+++ b/Source/SPMenuAdditions.m
@@ -31,7 +31,7 @@
- (void)compatibleRemoveAllItems
{
if ([self respondsToSelector:@selector(removeAllItems)]) {
- [self removeAllItems];
+ [(id)self removeAllItems];
} else {
while ([self numberOfItems]) [self removeItemAtIndex:0];
}