summaryrefslogtreecommitdiff
path: root/src
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
parent97943710d847ddb2b52099330f1961bda127e37b (diff)
downloadplus-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.gz
plus-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.bz2
plus-76ac55355e78bfa42474a898202a51d20f0f7f73.tar.xz
plus-76ac55355e78bfa42474a898202a51d20f0f7f73.zip
Fix wrong type usage. int -> time_t.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp2
-rw-r--r--src/client.h2
-rw-r--r--src/dyetool/client.cpp2
-rw-r--r--src/dyetool/client.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ca48e4645..4b6b3118f 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -196,7 +196,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/client.h b/src/client.h
index da08f322a..f381c5cb6 100644
--- a/src/client.h
+++ b/src/client.h
@@ -47,7 +47,7 @@ class QuitDialog;
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;
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;