summaryrefslogtreecommitdiff
path: root/src/gui/windows/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 01:24:49 +0300
commitca130a19b36a78c6a23aa56c6ea82eaa187b0a06 (patch)
treea22f311c5698f3f4ee370c0f1d3cb05230a1da95 /src/gui/windows/socialwindow.cpp
parenteeffaaf3ab0593f815e772bfb523b9e7a94d45f5 (diff)
downloadmanaverse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.gz
manaverse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.bz2
manaverse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.tar.xz
manaverse-ca130a19b36a78c6a23aa56c6ea82eaa187b0a06.zip
Use time_t for time values.
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r--src/gui/windows/socialwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index 055b19ed8..0ab894ba6 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -464,7 +464,7 @@ void SocialWindow::updateActiveList()
void SocialWindow::slowLogic()
{
BLOCK_START("SocialWindow::slowLogic")
- const unsigned int nowTime = cur_time;
+ const time_t nowTime = cur_time;
if (mNeedUpdate && nowTime - mLastUpdateTime > 1)
{
mPlayers->updateList();