From 36b68893df73fa2b2a9ab579172350cfd90c2e80 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 8 Sep 2008 20:59:16 +0000 Subject: Remove crappy, unsafe (and now unneeded!) casts. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index 01c07e2d0..d2090c3a2 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -143,7 +143,7 @@ bool InspIRCd::BindSocket(int sockfd, int port, const char* addr, bool dolisten) } // Open a TCP Socket -int irc::sockets::OpenTCPSocket(char* addr, int socktype) +int irc::sockets::OpenTCPSocket(const char* addr, int socktype) { int sockfd; int on = 1; -- cgit v1.2.3