LibVNCClient: remove now-useless cast

re #273
pull/3/head
Christian Beier 6 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; return FALSE;
} }
buffer = malloc((uint64_t)msg.sct.length+1); buffer = malloc(msg.sct.length+1);
if (!ReadFromRFBServer(client, buffer, msg.sct.length)) { if (!ReadFromRFBServer(client, buffer, msg.sct.length)) {
free(buffer); free(buffer);

Loading…
Cancel
Save