diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
commit | 97943710d847ddb2b52099330f1961bda127e37b (patch) | |
tree | ab2522aab524c3393a6dd4f1d51811d3eac9984e /src/actions | |
parent | 22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff) | |
download | manaplus-97943710d847ddb2b52099330f1961bda127e37b.tar.gz manaplus-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2 manaplus-97943710d847ddb2b52099330f1961bda127e37b.tar.xz manaplus-97943710d847ddb2b52099330f1961bda127e37b.zip |
Fix code style.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |