From 9a0951a7dc44f93226e096423b76de48df2d50a0 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sat, 12 Sep 2009 12:48:16 +0000 Subject: - Change the definition of forcePingTimeout to use int instead of NSInteger, matching signal handling function setup and fixing a warning --- Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Frameworks/MCPKit') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m index fd2d6444..a9bd92dd 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.m @@ -38,7 +38,7 @@ #include static jmp_buf pingTimeoutJumpLocation; -static void forcePingTimeout(NSInteger signalNumber); +static void forcePingTimeout(int signalNumber); const NSUInteger kMCPConnectionDefaultOption = CLIENT_COMPRESS | CLIENT_REMEMBER_OPTIONS ; const char *kMCPConnectionDefaultSocket = MYSQL_UNIX_ADDR; @@ -611,7 +611,7 @@ static BOOL sTruncateLongFieldInLogs = YES; * This function is paired with pingConnection, and provides a method of enforcing the connection * timeout when mysql_ping does not respect the specified limits. */ -static void forcePingTimeout(NSInteger signalNumber) +static void forcePingTimeout(int signalNumber) { longjmp(pingTimeoutJumpLocation, 1); } -- cgit v1.2.3