summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-09 21:41:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-09 21:41:40 +0300
commit76ac55355e78bfa42474a898202a51d20f0f7f73 (patch)
tree9cccde9298e6d35a489896afd2898b57eb8ca99a /src/dyetool
parent97943710d847ddb2b52099330f1961bda127e37b (diff)
downloadmv-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.gz
mv-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.bz2
mv-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.xz
mv-76ac55355e78bfa42474a898202a51d20f0f7f73.zip
Fix wrong type usage. int -> time_t.
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/client.cpp2
-rw-r--r--src/dyetool/client.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dyetool/client.cpp b/src/dyetool/client.cpp
index 659b3faff..74423d3fe 100644
--- a/src/dyetool/client.cpp
+++ b/src/dyetool/client.cpp
@@ -104,7 +104,7 @@ bool isSafeMode = false;
int serverVersion = 0;
int packetVersion = 0;
unsigned int tmwServerVersion = 0;
-int start_time;
+time_t start_time;
unsigned int mLastHost = 0;
unsigned long mSearchHash = 0;
int textures_count = 0;
diff --git a/src/dyetool/client.h b/src/dyetool/client.h
index 39afce267..4c8c2c3bd 100644
--- a/src/dyetool/client.h
+++ b/src/dyetool/client.h
@@ -36,7 +36,7 @@ class Window;
extern bool isSafeMode;
extern int serverVersion;
extern unsigned int tmwServerVersion;
-extern int start_time;
+extern time_t start_time;
extern int textures_count;
extern std::string errorMessage;