summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-30 13:40:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-30 13:40:53 +0200
commitf6dda4e1603ee1d901bf747c60f232db1f1b56a5 (patch)
tree0f69a52d737129af8d2e6e2e33f9c8f65adc24ab /sal
parentdb38e3f201517acf22c1773ae9fc4cb2514788b1 (diff)
Make loplugin:redundantcast accept bool(FD_ISSET(...)) again
Change-Id: I4e96c55c246cf806f17df31844a00d0e8a5e4f56
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/socket.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx
index bb8bf337766e..6b24b0ab0143 100644
--- a/sal/osl/unx/socket.cxx
+++ b/sal/osl/unx/socket.cxx
@@ -2399,7 +2399,7 @@ sal_Bool SAL_CALL osl_isInSocketSet(oslSocketSet Set, oslSocket pSocket)
return false;
}
- return FD_ISSET(pSocket->m_Socket, &Set->m_Set);
+ return bool(FD_ISSET(pSocket->m_Socket, &Set->m_Set));
}
sal_Int32 SAL_CALL osl_demultiplexSocketEvents(oslSocketSet IncomingSet,