aboutsummaryrefslogblamecommitdiffstats
path: root/main/bash/fix-jobs.patch
blob: c01db4e19f0d6c75df7ef88a0e2bd89da8dc5bc5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                            
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)