summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
commit3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a (patch)
tree412a28ef6a572efc7039df1c363bf47a3dec4b19 /utils
parent9a6f750a482d1d1ebf4281bb7bf8133e547ad438 (diff)
mir_forkThread<typename> - stronger typizatioin for thread function parameter
Diffstat (limited to 'utils')
-rw-r--r--utils/std_string_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp
index ff53b18585..cde856307c 100644
--- a/utils/std_string_utils.cpp
+++ b/utils/std_string_utils.cpp
@@ -44,7 +44,7 @@ std::string utils::url::decode(std::string data)
std::string utils::time::unix_timestamp()
{
- time_t in = ::time(nullptr);
+ time_t in = ::time(0);
return utils::conversion::to_string((void*)&in, UTILS_CONV_TIME_T);
}