[Freeciv-tickets] [freeciv] #46039: Path finding: Make node cost an int

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Dec 5 13:31:14 JST 2022


#46039: Path finding: Make node cost an int

  Open Date: 2022-11-05 09:24
Last Update: 2022-12-05 06:31

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/46039
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46039

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-12-05 06:31 Updated by: cazfi
 * Resolution Update from None to Accepted

Comment:

Current patch applies to S3_0 too.

---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.6
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Split from https://www.hostedredmine.com/issues/951985 reported by Lexxie. Path finding node cost is currently short. That doesn't even save any space (on most architectures - not proposing targeting this ticket to S3_0 though, in case some arch suffers) because of alignment padding, and it's the first place I found causing trouble by overflowing when various values go high. Turn it to an int.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/46039
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46039



More information about the Freeciv-tickets mailing list
Back to archive index