From 02486d457def273db80d36c2370fd663511cb82b Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 21 Jul 2021 22:12:17 +0000 Subject: Get rid of s6rc_id_t Signed-off-by: Laurent Bercot --- src/libs6rc/s6rc_db_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libs6rc') diff --git a/src/libs6rc/s6rc_db_load.c b/src/libs6rc/s6rc_db_load.c index 8463e55..bcc5f2f 100644 --- a/src/libs6rc/s6rc_db_load.c +++ b/src/libs6rc/s6rc_db_load.c @@ -104,7 +104,7 @@ int s6rc_db_load (char const *dir, s6rc_db_t *db, cdb_t *c) db->externals = (s6rc_external_t const *)(db->oneshots + db->n[S6RC_STYPE_ONESHOT] + db->n[S6RC_STYPE_N + S6RC_STYPE_ONESHOT]) ; db->bundles = (s6rc_bundle_t const *)(db->externals + db->n[S6RC_STYPE_EXTERNAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_EXTERNAL]) ; db->virtuals = (s6rc_bundle_t const *)(db->bundles + db->n[S6RC_STYPE_BUNDLE] + db->n[S6RC_STYPE_N + S6RC_STYPE_BUNDLE]) ; - db->deps[0] = (s6rc_id_t const *)(db->virtuals + db->n[S6RC_STYPE_VIRTUAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_VIRTUAL]) ; + db->deps[0] = (uint32_t const *)(db->virtuals + db->n[S6RC_STYPE_VIRTUAL] + db->n[S6RC_STYPE_N + S6RC_STYPE_VIRTUAL]) ; db->deps[1] = db->deps[0] + ndeps ; db->producers = db->deps[1] + ndeps ; db->deptypes[0] = (uint8_t const *)(db->producers + nproducers) ; -- cgit v1.2.3