summaryrefslogtreecommitdiffstats
path: root/unix/vncconfig/vncExt.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncconfig/vncExt.c')
-rw-r--r--unix/vncconfig/vncExt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncconfig/vncExt.c b/unix/vncconfig/vncExt.c
index eef7c4b5..ff6b4d65 100644
--- a/unix/vncconfig/vncExt.c
+++ b/unix/vncconfig/vncExt.c
@@ -278,7 +278,7 @@ Bool XVncExtSelectInput(Display* dpy, Window w, int mask)
return True;
}
-Bool XVncExtConnect(Display* dpy, char* hostAndPort)
+Bool XVncExtConnect(Display* dpy, const char* hostAndPort)
{
xVncExtConnectReq* req;
xVncExtConnectReply rep;