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:55:03 +0200 |
commit | 7c51670605f2be2aa204d38ca4a76b6dddd5b9e6 (patch) | |
tree | dcdc4505bb4a5e644dfdf3eabced6a0c1fbe834c | |
parent | 8c044e4ac2770b6f680d733aed379a9b4e1d79a3 (diff) | |
download | tdegames-7c51670605f2be2aa204d38ca4a76b6dddd5b9e6.tar.gz tdegames-7c51670605f2be2aa204d38ca4a76b6dddd5b9e6.zip |
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aca2873f2a39e27931bfec91433bafcea049eafb)
-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(); } } |