aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-11 20:37:56 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-11 20:37:56 +0000
commitfd06b32111ab5dca228913c3ee8bb2cd3dbd2403 (patch)
tree00ae24d5c8b61db400bf9ca15dfe717273cd548c /Source
parentf1ccc7844f7b5a76a0503731fdc134e1f07b7c98 (diff)
downloadsequelpro-fd06b32111ab5dca228913c3ee8bb2cd3dbd2403.tar.gz
sequelpro-fd06b32111ab5dca228913c3ee8bb2cd3dbd2403.tar.bz2
sequelpro-fd06b32111ab5dca228913c3ee8bb2cd3dbd2403.zip
Fix another implicit cast warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPConnectionDelegate.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionDelegate.m b/Source/SPConnectionDelegate.m
index 6b6a4dd1..8490ebc2 100644
--- a/Source/SPConnectionDelegate.m
+++ b/Source/SPConnectionDelegate.m
@@ -138,7 +138,7 @@
// Display the connection error dialog and wait for the return code
[NSApp beginSheet:connectionErrorDialog modalForWindow:[self parentWindow] modalDelegate:self didEndSelector:nil contextInfo:nil];
- connectionErrorCode = [NSApp runModalForWindow:connectionErrorDialog];
+ connectionErrorCode = (SPMySQLConnectionLostDecision)[NSApp runModalForWindow:connectionErrorDialog];
[NSApp endSheet:connectionErrorDialog];
[connectionErrorDialog orderOut:nil];