diff --git a/jobs.c b/jobs.c index fc96603..d203db2 100644 --- a/jobs.c +++ b/jobs.c @@ -765,7 +765,7 @@ bgp_resize () else nsize = bgpids.nalloc; - while (nsize < js.c_childmax) + while (nsize < (ps_index_t)js.c_childmax) nsize *= 2; if (bgpids.nalloc < js.c_childmax)