On Thu, Mar 26, 2020 at 1:53 AM Rosen Penev <[email protected]> wrote: > > Fixes compilation under musl 1.2.0 > > Signed-off-by: Rosen Penev <[email protected]> > --- > service.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/service.c b/service.c > index 97b6f91..f9d3b48 100644 > --- a/service.c > +++ b/service.c > @@ -122,7 +122,7 @@ service_timeout(struct service *s) > time_t t = monotonic_time(); > > if (t - s->t <= TOUT_LOOKUP) { > - DBG(2, "t=%lu, s->t=%lu, t - s->t = %lu\n", t, s->t, t - > s->t); > + DBG(2, "t=%lld, s->t=%lld, t - s->t = %lld\n", (int64_t)t, > (int64_t)s->t, (int64_t)(t - s->t)); Please use PRId64 iso lld
Hans > return 0; > } > > -- > 2.25.1 > > > _______________________________________________ > openwrt-devel mailing list > [email protected] > https://lists.openwrt.org/mailman/listinfo/openwrt-devel _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
