Follow-up Comment #6, bug #20513 (project freeciv):
The cast to (unsigned long) is used a bit everywhere in the code...
> We can/should move the fc_assert(sizeof(x) == 4) earlier in the
> function, before one tries to read 4 bytes to sizeof(x) block.
Yes. And it could also be replaced by FC_STATIC_ASSERT() here I guess.
Reply to this item at:
Message posté via/par Gna!
Freeciv-dev mailing list