X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..479b8853c2ab18c98926a9369a03888021e9b986:/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp index 8f8e8db5..3ed22113 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp @@ -305,7 +305,7 @@ int CHG_TARIFF::Start(void *, const char * el, const char ** attr) { int64_t policyTime = 0; if (str2x(attr[1], policyTime) == 0) - td.tariffConf.changePolicyTimeout = (time_t)policyTime; + td.tariffConf.changePolicyTimeout = policyTime; return 0; } }