Follow-up Comment #7, bug #21950 (project freeciv):
> #define IDENTITY_NUMBER_SIZE (1+((MAX_UINT16 << 2) + 3))
> What is the +3 for?
The two lowest bits that MAX_UINT16 << 2 leaves cleared. It really should be
written as binary (11) to make code more readable, but I don't think there's
portable (older compilers) way to do that in C.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list