summaryrefslogtreecommitdiffstats
path: root/kshisen
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-08-18 12:54:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-08-18 12:55:03 +0200
commit7c51670605f2be2aa204d38ca4a76b6dddd5b9e6 (patch)
treedcdc4505bb4a5e644dfdf3eabced6a0c1fbe834c /kshisen
parent8c044e4ac2770b6f680d733aed379a9b4e1d79a3 (diff)
downloadtdegames-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)
Diffstat (limited to 'kshisen')
-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();
}
}