LibVNCClient: remove now-useless cast

re #273
pull/3/head
Christian Beier 5 years ago
parent c2c4b81e6c
commit a64c3b37af
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -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);

Loading…
Cancel
Save