aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-11-02 23:57:43 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-11-03 00:10:34 +0100
commit47fab08aa68367734dc4cdf66dfb29ed086947e7 (patch)
tree16b0ad5c00d6bde479f3331d434cca39bcde22ab
parent882c034c3713855bb15dde84b1bd16dc887171cb (diff)
downloadnx-libs-47fab08aa68367734dc4cdf66dfb29ed086947e7.tar.gz
nx-libs-47fab08aa68367734dc4cdf66dfb29ed086947e7.tar.bz2
nx-libs-47fab08aa68367734dc4cdf66dfb29ed086947e7.zip
xtrans: fix const warnings for SocketConnectConnInfo
-rw-r--r--nx-X11/lib/xtrans/Xtranssock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/xtrans/Xtranssock.c b/nx-X11/lib/xtrans/Xtranssock.c
index b69039d12..1a76c406d 100644
--- a/nx-X11/lib/xtrans/Xtranssock.c
+++ b/nx-X11/lib/xtrans/Xtranssock.c
@@ -458,7 +458,7 @@ static XtransConnInfo TRANS(SocketCreateConnInfo) ()
return ciptr;
}
-static int TRANS(SocketConnectConnInfo) (XtransConnInfo ciptr, char *host, char *port)
+static int TRANS(SocketConnectConnInfo) (XtransConnInfo ciptr, const char *host, const char *port)
{
int fds[2];
char display[1024];