X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/25c5bd4fe8c9fd7c4898e7dfbbdbf68dc172dcd7..a903ce1ab463173c9a0af322c4c2f23076d21310:/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp index e6a4df6f..91796148 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.cpp @@ -5,7 +5,7 @@ #include "messages_methods.h" #include "rpcconfig.h" -extern const volatile time_t stgTime; +extern volatile time_t stgTime; //------------------------------------------------------------------------------ @@ -75,7 +75,7 @@ if ((it = msgInfo.find("text")) == msgInfo.end()) } message.text = IconvString(xmlrpc_c::value_string(it->second), "UTF-8", "CP1251"); -message.header.creationTime = stgTime; +message.header.creationTime = static_cast(stgTime); message.header.lastSendTime = 0; std::vector::iterator lit;