[wesnoth-commits] [wesnoth/wesnoth] e961cc: Fix: we negate an unsigned integer

GitHub noreply at github.com
Fri Jul 27 08:36:16 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e961cc08993bb2b796891530d084da73ec212351
      https://github.com/wesnoth/wesnoth/commit/e961cc08993bb2b796891530d084da73ec212351
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-07-27 (Fri, 27 Jul 2018)

  Changed paths:
    M src/gui/dialogs/unit_list.cpp
    M src/gui/dialogs/unit_recall.cpp

  Log Message:
  -----------
  Fix: we negate an unsigned integer

Negating an unsigned integer still returns an unsigned value
(in other words, always positive) which isn't what we want.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list