X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c302e7d5fe848d1b06d3e2b40cd13836525b74a0..f7b9fd9ef231946b4a1e5edf54c187e7ddbed8fe:/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 b2b07997..9c752674 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp @@ -303,7 +303,7 @@ int CHG_TARIFF::Start(void *, const char * el, const char ** attr) if (strcasecmp(el, "ChangePolicyTimeout") == 0) { - long int policyTime = 0; + int64_t policyTime = 0; if (str2x(attr[1], policyTime) == 0) td.tariffConf.changePolicyTimeout = (time_t)policyTime; return 0;