summaryrefslogtreecommitdiffstats
path: root/mcop/tcpserver.cc
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-19 12:40:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-19 12:40:38 +0200
commit0184742fd6dda45b4c3ac2f26eb60ec9a8ccedf3 (patch)
tree22f6f68aeeabfb590fc2a0cbb9e5c4ab5dba5ba8 /mcop/tcpserver.cc
parentc1b7409de9bfd0c63c662b38b007d99dbb442d38 (diff)
downloadarts-0184742fd6dda45b4c3ac2f26eb60ec9a8ccedf3.tar.gz
arts-0184742fd6dda45b4c3ac2f26eb60ec9a8ccedf3.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'mcop/tcpserver.cc')
-rw-r--r--mcop/tcpserver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcop/tcpserver.cc b/mcop/tcpserver.cc
index 5ce3532..c2cffee 100644
--- a/mcop/tcpserver.cc
+++ b/mcop/tcpserver.cc
@@ -121,7 +121,7 @@ bool TCPServer::initSocket()
socket_addr.sin_family = AF_INET;
socket_addr.sin_port = htons( TCPServerPort ); // 0 = choose port freely
socket_addr.sin_addr.s_addr = htonl( inet_addr("0.0.0.0") );
- if ( bind( theSocket, (struct sockaddr *) &socket_addr,
+ if ( ::bind( theSocket, (struct sockaddr *) &socket_addr,
sizeof(struct sockaddr_in) ) < 0 )
{
arts_warning("MCOP TCPServer: can't bind to port/address");