From: Pierre Ossman Date: Thu, 29 Jan 2015 09:19:49 +0000 (+0100) Subject: No need to cast these as they are already an appropriate type X-Git-Tag: v1.4.90~61 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dfe455ce18380a06faf39ee974bb2ff8d029f3de;p=tigervnc.git No need to cast these as they are already an appropriate type --- diff --git a/unix/xserver/hw/vnc/vncExt.c b/unix/xserver/hw/vnc/vncExt.c index 33f51003..561e292c 100644 --- a/unix/xserver/hw/vnc/vncExt.c +++ b/unix/xserver/hw/vnc/vncExt.c @@ -331,7 +331,7 @@ static int ProcVncExtGetParamDesc(ClientPtr client) } WriteToClient(client, sizeof(xVncExtGetParamDescReply), (char *)&rep); if (desc) - WriteToClient(client, len, (char*)desc); + WriteToClient(client, len, desc); return (client->noClientException); } @@ -613,9 +613,9 @@ static int ProcVncExtGetQueryConnect(ClientPtr client) } WriteToClient(client, sizeof(xVncExtGetQueryConnectReply), (char *)&rep); if (qcTimeout) - WriteToClient(client, strlen(qcAddress), (char*)qcAddress); + WriteToClient(client, strlen(qcAddress), qcAddress); if (qcTimeout) - WriteToClient(client, strlen(qcUsername), (char*)qcUsername); + WriteToClient(client, strlen(qcUsername), qcUsername); return (client->noClientException); }