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(); } }