Follow-up Comment #2, bug #18482 (project freeciv):
- granary_num_inis is definied as UINT8 in packets.def -> generated
packets_gen.h has it as int.
- pointer to it is cast as (size_t *) in ruleset.c
Now, is size of size_t bigger than size of int in that system? Does attached
patch help?
(file #13863)
_______________________________________________________
Additional Item Attachment:
File name: AvoidpIntTopSizeCast._18482.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18482>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev