summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-09 19:41:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-09 19:41:31 +0300
commit97943710d847ddb2b52099330f1961bda127e37b (patch)
treeab2522aab524c3393a6dd4f1d51811d3eac9984e /src/actions
parent22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff)
downloadManaVerse-97943710d847ddb2b52099330f1961bda127e37b.tar.gz
ManaVerse-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2
ManaVerse-97943710d847ddb2b52099330f1961bda127e37b.tar.xz
ManaVerse-97943710d847ddb2b52099330f1961bda127e37b.zip
Fix code style.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
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;