diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-11 15:49:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 15:07:19 +0100 |
commit | 97b201f6ba667fdf4ff19bcc73bbbbf51f567a68 (patch) | |
tree | aa3545c96e3cff8cdcc81c97028738c4a8220924 /sal | |
parent | 1be1e02d9af02e5ff47725eff65e4cbae96f7083 (diff) |
-Werror,-Wparentheses-equality
Change-Id: I1c85127f02697d39f17d4d5f52cb997352886701
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/socket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 0b98b3facc4d..636bfce0ecbf 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -1092,7 +1092,7 @@ sal_Int32 SAL_CALL osl_getInetPortOfSocketAddr(oslSocketAddr pAddr) { struct sockaddr_in* pSystemInetAddr= (struct sockaddr_in*)&(pAddr->m_sockaddr); - if ( (pSystemInetAddr->sin_family == FAMILY_TO_NATIVE(osl_Socket_FamilyInet))) + if (pSystemInetAddr->sin_family == FAMILY_TO_NATIVE(osl_Socket_FamilyInet)) return ntohs(pSystemInetAddr->sin_port); } return OSL_INVALID_PORT; |