Fixed more build warnings

This commit is contained in:
Pierre-Olivier Latour
2014-01-29 09:14:23 -08:00
parent 0f2f22a1b0
commit 36658278f8
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -314,7 +314,7 @@ static void _NetServiceClientCallBack(CFNetServiceRef service, CFStreamError* er
- (BOOL)runWithPort:(NSUInteger)port {
BOOL success = NO;
_run = YES;
void* handler = signal(SIGINT, _SignalHandler);
void (*handler)(int) = signal(SIGINT, _SignalHandler);
if (handler != SIG_ERR) {
if ([self startWithPort:port bonjourName:@""]) {
while (_run) {