Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent ece252a932
commit aca2873f2a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -730,7 +730,7 @@ void Board::undrawConnection()
// game is over? // game is over?
if(!getHint_I(dummyPath)) if(!getHint_I(dummyPath))
{ {
time_for_game = (int)difftime( time((time_t)0), starttime); time_for_game = (int)difftime( time(0), starttime);
emit endOfGame(); emit endOfGame();
} }
} }

Loading…
Cancel
Save