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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/sdltcpnet.h') diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index 1d83b04fc..e8772b4bd 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -40,7 +40,7 @@ namespace TcpNet int send(const TcpNet::Socket sock, const void *const data, const int len); - char *getError(); + const char *getError(); int resolveHost(IPaddress *const address, const char *const host, const Uint16 port); -- cgit v1.2.3-60-g2f50