summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-08-18 12:54:43 +0200
committerSlávek Banko <[email protected]>2018-08-18 12:55:03 +0200
commit7c51670605f2be2aa204d38ca4a76b6dddd5b9e6 (patch)
treedcdc4505bb4a5e644dfdf3eabced6a0c1fbe834c
parent8c044e4ac2770b6f680d733aed379a9b4e1d79a3 (diff)
downloadtdegames-7c51670605f2be2aa204d38ca4a76b6dddd5b9e6.tar.gz
tdegames-7c51670605f2be2aa204d38ca4a76b6dddd5b9e6.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit aca2873f2a39e27931bfec91433bafcea049eafb)
-rw-r--r--kshisen/board.cpp2
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();
}
}