diff --git a/src/libvncclient/rfbclient.c b/src/libvncclient/rfbclient.c index a4eec218..f9f8ccc5 100644 --- a/src/libvncclient/rfbclient.c +++ b/src/libvncclient/rfbclient.c @@ -1967,7 +1967,7 @@ rfbClientProcessExtServerCutText(rfbClient* client, char *data, int len) return FALSE; } if (client->GotXCutTextUTF8) - client->GotXCutTextUTF8(client, buf, size); + client->GotXCutTextUTF8(client, (char *)buf, size); free(buf); inflateEnd(&stream);