Fix possible crash on 64-bit systems when copying game or position
authorByrial Jensen <byrial@vip.cybercity.dk>
Sun, 18 Dec 2011 14:41:46 +0000 (15:41 +0100)
committerByrial Jensen <byrial@vip.cybercity.dk>
Sun, 18 Dec 2011 14:41:46 +0000 (15:41 +0100)
commit92b1e8aaef115278eb3bc6902d76824def8f734a
tree83a421b57c4b056dc3de88dc83e760b343e272d4
parent7e695010e3a0d264b6532d00d9360e3f9fb09686
Fix possible crash on 64-bit systems when copying game or position

The two convertproc's for X selections caused reads out of bounds on 64-bit systems.
I hope that this is the right solution. I am not experienced with X stuff, but it
follows that I have seen in other programs, testing shows that copying still works,
and the reading out of bounds have disappearinged with this patch.
xboard.c