From 907189d7886a11e51a821741aff793b836d1c18b Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Wed, 19 Oct 2016 10:31:18 +0300 Subject: [PATCH] Ticket 37. The long int policyTime type changed to int64_t policyTime. --- .../stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.44.2