From 47fab08aa68367734dc4cdf66dfb29ed086947e7 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 2 Nov 2016 23:57:43 +0100 Subject: xtrans: fix const warnings for SocketConnectConnInfo --- nx-X11/lib/xtrans/Xtranssock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-X11') 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]; -- cgit v1.2.3