From 9fcb032269d02b1933e2c56c73f9c38f8a6146ec Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Mon, 6 Jun 2011 17:41:55 -0400 Subject: Fix incorrect typecast --- src/threadengines/threadengine_win32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/threadengines') diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp index b2a4dcaca..5cf20f862 100644 --- a/src/threadengines/threadengine_win32.cpp +++ b/src/threadengines/threadengine_win32.cpp @@ -89,7 +89,7 @@ SocketThread::SocketThread() socklen_t sz = sizeof(addr); getsockname(listenFD, reinterpret_cast(&addr), &sz); connect(connFD, reinterpret_cast(&addr), sz); - int nfd = accept(listenFD, reinterpret_cast(&addr), (int*)sz); + int nfd = accept(listenFD, reinterpret_cast(&addr), &sz); if (nfd < 0) throw CoreException("Could not create ITC pipe"); new ThreadSignalSocket(this, nfd); -- cgit v1.2.3