From: Elena Mamontova Date: Wed, 19 Oct 2016 07:31:18 +0000 (+0300) Subject: Ticket 37. The long int policyTime type changed to int64_t policyTime. X-Git-Tag: 2.409~58 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/907189d7886a11e51a821741aff793b836d1c18b?ds=sidebyside;hp=--cc Ticket 37. The long int policyTime type changed to int64_t policyTime. --- 907189d7886a11e51a821741aff793b836d1c18b 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;