]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp
More jthreads.
[stg.git] / projects / stargazer / plugins / configuration / sgconfig / parser_tariffs.cpp
index 8f8e8db5ab2db571bb84595ee839c072873bd9cf..3ed22113e12d6d0f89f1733087acbefddd536139 100644 (file)
@@ -305,7 +305,7 @@ int CHG_TARIFF::Start(void *, const char * el, const char ** attr)
         {
             int64_t policyTime = 0;
             if (str2x(attr[1], policyTime) == 0)
-                td.tariffConf.changePolicyTimeout = (time_t)policyTime;
+                td.tariffConf.changePolicyTimeout = policyTime;
             return 0;
         }
     }