URL:
  <http://gna.org/bugs/?25449>

                 Summary: pf_pos_hash_val(const struct pf_parameter
*parameter) - left shift of 1 by 31 places cannot be represented in type 'int'
                 Project: Freeciv
            Submitted by: mir3x
            Submitted on: Mon 16 Jan 2017 07:41:31 PM CET
                Category: ai
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 2.6.0, 3.0, 3.1
         Discussion Lock: Any
        Operating System: None
         Planned Release: 
 Contains string changes: None

    _______________________________________________________

Details:

common/aicore/path_finding.c
static genhash_val_t pf_pos_hash_val(const struct pf_parameter *parameter)

result |= (1 << b);

>> path_finding.c:3527:20: runtime error: left shift of 1 by 31 places cannot
be represented in type 'int'

used save game from bug #25446




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25449>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to