Follow-up Comment #4, bug #25079 (project wesnoth): Afaik shifting out of range on signed types (unlike unsigned types) is indeed UB accortudin to the standart, maybe we could fix this by using unsigned types here.
_______________________________________________________ Reply to this item at: <http://gna.org/bugs/?25079> _______________________________________________ Nachricht gesendet von/durch Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs