X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..a500fb72810060e52d87ad2c2e4691531f0bcc5a:/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp 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; } }