From ec1beaa2ee07368368e9bd45fe400eedc57419eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Aug 2013 14:37:03 +0300 Subject: first part of fixes for compilation with SDL2 --- src/net/sdltcpnet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/sdltcpnet.cpp') diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp index 7b0d2700f..cb6d6145e 100644 --- a/src/net/sdltcpnet.cpp +++ b/src/net/sdltcpnet.cpp @@ -75,7 +75,7 @@ int TcpNet::send(const TcpNet::Socket sock, const void *const data, return SDLNet_TCP_Send(sock, data, len); } -char *TcpNet::getError() +const char *TcpNet::getError() { return SDLNet_GetError(); } -- cgit v1.2.3-70-g09d2