From 0057a138eeef4440d9d63402bb11f3a86fa23c90 Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Thu, 22 Oct 2020 10:19:01 +0000 Subject: [PATCH] socket data type --- src/rpc/src/rpcTcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/src/rpcTcp.c b/src/rpc/src/rpcTcp.c index 1040877057..433ffe76b5 100644 --- a/src/rpc/src/rpcTcp.c +++ b/src/rpc/src/rpcTcp.c @@ -176,7 +176,7 @@ static void taosStopTcpThread(SThreadObj* pThreadObj) { // save thread and pollFd into local variable since pThreadObj will be freed when thread exits pthread_t thread = pThreadObj->thread; - int pollFd = pThreadObj->pollFd; + SOCKET pollFd = pThreadObj->pollFd; if (taosComparePthread(pThreadObj->thread, pthread_self())) { pthread_detach(pthread_self()); -- GitLab