summaryrefslogtreecommitdiff
path: root/src/libs6rc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-08-16 20:42:56 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-08-16 20:42:56 +0000
commit3f6b6d787b4271e84315c46511db5f5778f6ee5d (patch)
treecc1c02da1baa1878eedcce143f7a34217c45544e /src/libs6rc
parent983061db31e02d62359dd8a0cb1e9f125950cfdb (diff)
downloads6-rc-3f6b6d787b4271e84315c46511db5f5778f6ee5d.tar.xz
Safer version of pipelines, with an auto-refilling fdholder
Diffstat (limited to 'src/libs6rc')
-rw-r--r--src/libs6rc/s6rc_db_check_pipelines.c2
1 files changed, 1 insertions, 1 deletions
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))
{