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.
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.