Skip to content

Commit

Permalink
LibVNCClient: remove now-useless cast
Browse files Browse the repository at this point in the history
re #273
  • Loading branch information
bk138 committed Jan 6, 2019
1 parent c2c4b81 commit a64c3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvncclient/rfbproto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a64c3b3

Please sign in to comment.