diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-08-18 12:54:43 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-08-18 12:54:43 +0200 |
commit | aca2873f2a39e27931bfec91433bafcea049eafb (patch) | |
tree | 62f3375a9c4e6982d276a6346e7fe6d55483d548 | |
parent | ece252a932b5542825bc5e9fbfb8c2dc5d0927f8 (diff) | |
download | tdegames-aca2873f2a39e27931bfec91433bafcea049eafb.tar.gz tdegames-aca2873f2a39e27931bfec91433bafcea049eafb.zip |
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | kshisen/board.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kshisen/board.cpp b/kshisen/board.cpp index ce8c9150..a19f0600 100644 --- a/kshisen/board.cpp +++ b/kshisen/board.cpp @@ -730,7 +730,7 @@ void Board::undrawConnection() // game is over? if(!getHint_I(dummyPath)) { - time_for_game = (int)difftime( time((time_t)0), starttime); + time_for_game = (int)difftime( time(0), starttime); emit endOfGame(); } } |