summaryrefslogtreecommitdiffstats
path: root/freebsd/tdegames/files/patch-bp000-fix-ftbfs-on-c++11.diff
blob: ae3f37b4ba02c1dfdd8cd946a294a8bbe7bd5f95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/kshisen/board.cpp b/kshisen/board.cpp
index ce8c915..a19f060 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();
 	}
 }