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.
README
This is a Unix port of the Plan 9 regular expression library, originally done for the Inferno operating system. Russ Cox repackaged this to build as a standalone Unix library. Send comments about packaging to Russ Cox <rsc@post.harvard.edu>