]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp
Allow user-defined 'ar' and 'ranlib'.
[stg.git] / 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;