summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 76a53fdfd..0179c0f51 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -537,7 +537,7 @@ Client::Client(const Options &options):
optionChanged("fpslimit");
- start_time = time(NULL);
+ start_time = static_cast<int>(time(NULL));
// Initialize PlayerInfo
PlayerInfo::init();