diff --git a/lib/secure-streams/policy-json.c b/lib/secure-streams/policy-json.c index 3e828d89a..dc0b64393 100644 --- a/lib/secure-streams/policy-json.c +++ b/lib/secure-streams/policy-json.c @@ -566,7 +566,7 @@ lws_ss_policy_parser_cb(struct lejp_ctx *ctx, char reason) goto string2; case LSSPPT_METRICS_US_SCHEDULE: - a->curr[LTY_METRICS].m->us_schedule = (uint64_t)atol(ctx->buf); + a->curr[LTY_METRICS].m->us_schedule = (uint64_t)atoll(ctx->buf); break; case LSSPPT_METRICS_US_HALFLIFE: