https://bugs.kde.org/show_bug.cgi?id=374696

Andrius Štikonas <andr...@stikonas.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kon
                   |                            |quest/064c74d30e7a94554c279
                   |                            |80e2934441f1b03d6c0
         Resolution|---                         |FIXED

--- Comment #1 from Andrius Štikonas <andr...@stikonas.eu> ---
Git commit 064c74d30e7a94554c27980e2934441f1b03d6c0 by Andrius Štikonas.
Committed on 22/04/2017 at 02:54.
Pushed by stikonas into branch 'master'.

Use long long for fleet size to avoid integer overflow.

Well, with the number of ships in the fleet rising exponentially,
it will still eventually overflow but a bit later...

M  +6    -6    fleet.cc
M  +8    -8    fleet.h
M  +1    -1    game.cpp
M  +1    -1    game.h
M  +1    -1    gameview.h
M  +1    -1    mainwin.cc
M  +1    -1    players/ai/becai/becai.cpp
M  +22   -22   players/player.h

https://commits.kde.org/konquest/064c74d30e7a94554c27980e2934441f1b03d6c0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to