summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/ThreadedSocket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/ThreadedSocket.cxx b/Ivy/ThreadedSocket.cxx
index 5fa7322..10af005 100644
--- a/Ivy/ThreadedSocket.cxx
+++ b/Ivy/ThreadedSocket.cxx
@@ -348,7 +348,7 @@ int CThreadedSocket::StartWriter()
bool CThreadedSocket::SignalWriter()
{
long PreviousCount = 0;
- int err;
+ BOOL err;
err = ReleaseSemaphore(send_count, 1, &PreviousCount);
// TRACE("CThreadedSocket::SignalWriter() PreviousCount = %ld \n", PreviousCount );
return (err != 0);