summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2019-01-06 14:22:34 +0100
committerChristian Beier <dontmind@freeshell.org>2019-01-06 14:22:34 +0100
commita64c3b37af9a6c8f8009d7516874b8d266b42bae (patch)
tree164e3464f366ffa9772f23a0e3e931aecc86bbd2
parentc2c4b81e6cb3b485fb1ec7ba9e7defeb889f6ba7 (diff)
downloadlibtdevnc-a64c3b37af9a6c8f8009d7516874b8d266b42bae.tar.gz
libtdevnc-a64c3b37af9a6c8f8009d7516874b8d266b42bae.zip
LibVNCClient: remove now-useless cast
re #273
-rw-r--r--libvncclient/rfbproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 6af21a5..2f887c3 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -2227,7 +2227,7 @@ HandleRFBServerMessage(rfbClient* client)
return FALSE;
}
- buffer = malloc((uint64_t)msg.sct.length+1);
+ buffer = malloc(msg.sct.length+1);
if (!ReadFromRFBServer(client, buffer, msg.sct.length)) {
free(buffer);