@@ -920,11 +920,11 @@ [threads makeImmutable]; _threadPool = [threads copy]; } #endif - ((OFTCPSocket *)_listeningSocket).delegate = self; + _listeningSocket.delegate = self; [_listeningSocket asyncAccept]; objc_autoreleasePoolPop(pool); }