_XRead32 requires the output variable to be a long, but
ReadClientValues
feeds it client->value which is a
32-bit allocation.
This commit changes the code to use _XRead instead, which properly handles 32-bit output variables.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
_XRead32 requires the output variable to be a long, but
ReadClientValues
feeds it client->value which is a
32-bit allocation.
This commit changes the code to use _XRead instead, which properly handles 32-bit output variables.