diff options
author | Christian Beier <dontmind@freeshell.org> | 2019-01-06 14:22:34 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2019-01-06 14:22:34 +0100 |
commit | a64c3b37af9a6c8f8009d7516874b8d266b42bae (patch) | |
tree | 164e3464f366ffa9772f23a0e3e931aecc86bbd2 | |
parent | c2c4b81e6cb3b485fb1ec7ba9e7defeb889f6ba7 (diff) | |
download | libtdevnc-a64c3b37af9a6c8f8009d7516874b8d266b42bae.tar.gz libtdevnc-a64c3b37af9a6c8f8009d7516874b8d266b42bae.zip |
LibVNCClient: remove now-useless cast
re #273
-rw-r--r-- | libvncclient/rfbproto.c | 2 |
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); |