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:
<http://gna.org/bugs/?20513>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev