]> git.stg.codes - stg.git/commitdiff
Ticket 37. The long int policyTime type changed to int64_t policyTime.
authorElena Mamontova <helenh463@gmail.com>
Wed, 19 Oct 2016 07:31:18 +0000 (10:31 +0300)
committerElena Mamontova <helenh463@gmail.com>
Wed, 19 Oct 2016 07:31:18 +0000 (10:31 +0300)
projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp

index b2b079978f869cf7a52f32f572deb97853b8870d..9c75267480e9591544e920ddb2b28788ff3f08ac 100644 (file)
@@ -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;