Follow-up Comment #6, bug #16318 (project freeciv):
bug #16457 is open item to treat about that. Unfortunately, there are very
numerous problem treating enumerators as not integer. At many places (and
it's not new, it actually affect most of versions of freeciv), it is used as
integers.
Update of bug #16318 (project freeciv):
Status: Ready For Test = Fixed
Open/Closed:Open = Closed
___
Reply to this item at:
Update of bug #16318 (project freeciv):
Category:None = general
Status:None = Ready For Test
Assigned to:None = pepeto
Planned Release:
Follow-up Comment #2, bug #16318 (project freeciv):
The scanf
if (sscanf(level_str, %d, (int *) level) != 1) {
lines can be fixed by an auxiliary temp variable. Or perhaps an atoi with
error checking.
When passing pointers of different type to functions
Follow-up Comment #1, bug #16318 (project freeciv):
Pointer type casts like that are generally to be avoided in C, in my
experience.
Agreed that the generated files should be removed by 'make distclean'.
___
Reply to this item at: