]> source.dussan.org Git - tigervnc.git/commitdiff
No need to cast these as they are already an appropriate type
authorPierre Ossman <ossman@cendio.se>
Thu, 29 Jan 2015 09:19:49 +0000 (10:19 +0100)
committerPierre Ossman <ossman@cendio.se>
Thu, 29 Jan 2015 09:19:49 +0000 (10:19 +0100)
unix/xserver/hw/vnc/vncExt.c

index 33f51003e07924e23b9b921ee9a2bb84016774d7..561e292c37a7c602a8ec6dc13c8c74e866ef764c 100644 (file)
@@ -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);
 }