From 3f6b6d787b4271e84315c46511db5f5778f6ee5d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 16 Aug 2015 20:42:56 +0000 Subject: Safer version of pipelines, with an auto-refilling fdholder --- src/libs6rc/s6rc_db_check_pipelines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs6rc') diff --git a/src/libs6rc/s6rc_db_check_pipelines.c b/src/libs6rc/s6rc_db_check_pipelines.c index 19dc141..d2547fc 100644 --- a/src/libs6rc/s6rc_db_check_pipelines.c +++ b/src/libs6rc/s6rc_db_check_pipelines.c @@ -31,7 +31,7 @@ int s6rc_db_check_pipelines (s6rc_db_t const *db, diuint32 *problem) j = i ; for (;;) { - register unsigned int k = db->services[j].x.longrun.pipeline[1] ; + register uint32 k = db->services[j].x.longrun.pipeline[1] ; if (k >= db->nlong) break ; if (k == i || bitarray_peek(black, k)) { -- cgit v1.2.3