Tree
- Tree:
0a4ea2fc4ec7ada7397ac05b684ecec5e78a4be9
- Date:
- Message:
- Change GET/GBIT32 macros to explicitly cast final result to u32int. Otherwise, the type of the expression will be int, and if written to a uvlong (or just a ulong on most 64-bit systems), it will be sign-extended. This was going on in drawfcall with Mouse.msec, which is declared as a ulong. This fix assumes that the protocols only send unsigned numbers, which is true.
local | commits | blame |
root-servers | commits | blame |