X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c302e7d5fe848d1b06d3e2b40cd13836525b74a0..0f4172ffbddd7b51c80f388adc69c4601d230bf6:/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..34f09fe5 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp @@ -16,7 +16,7 @@ /* * Author : Boris Mikhailenko - * Author : Maxim Mamontov + * Author : Maksym Mamontov */ #include "parser_tariffs.h" @@ -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;