summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r--src/net/sdltcpnet.h2
1 files changed, 1 insertions, 1 deletions
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);