From 97943710d847ddb2b52099330f1961bda127e37b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Sep 2016 19:41:31 +0300 Subject: Fix code style. --- src/actions/actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index f855deb05..cb829445c 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -118,7 +118,7 @@ extern std::string tradePartnerName; extern QuitDialog *quitDialog; -extern int start_time; +extern time_t start_time; extern char **environ; namespace Actions @@ -1214,7 +1214,7 @@ impHandler0(uptime) { // TRANSLATORS: uptime command debugChatTab->chatLog(strprintf(_("Client uptime: %s"), - timeDiffToString(cur_time - start_time).c_str()), + timeDiffToString(CAST_S32(cur_time - start_time)).c_str()), ChatMsgType::BY_SERVER); } return true; -- cgit v1.2.3-70-g09d2