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:54:43 +0200
commitaca2873f2a39e27931bfec91433bafcea049eafb (patch)
tree62f3375a9c4e6982d276a6346e7fe6d55483d548
parentece252a932b5542825bc5e9fbfb8c2dc5d0927f8 (diff)
downloadtdegames-aca2873f2a39e27931bfec91433bafcea049eafb.tar.gz
tdegames-aca2873f2a39e27931bfec91433bafcea049eafb.zip
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <[email protected]>
-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();
}
}