From 42ce5f75bfb13c41e31d85c15fc457521a298f49 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 9 Apr 2018 19:45:04 +0200 Subject: [PATCH] install: minor enum beautifications --- src/shared/install.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/shared/install.h b/src/shared/install.h index 56a2d4e..495fa3b 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -64,13 +64,13 @@ enum UnitFileChangeType { UNIT_FILE_IS_MASKED, UNIT_FILE_IS_DANGLING, _UNIT_FILE_CHANGE_TYPE_MAX, - _UNIT_FILE_CHANGE_INVALID = INT_MIN + _UNIT_FILE_CHANGE_TYPE_INVALID = INT_MIN }; enum UnitFileFlags { - UNIT_FILE_RUNTIME = 1, - UNIT_FILE_FORCE = 1 << 1, - UNIT_FILE_DRY_RUN = 1 << 2, + UNIT_FILE_RUNTIME = 1U << 0, + UNIT_FILE_FORCE = 1U << 1, + UNIT_FILE_DRY_RUN = 1U << 2, }; /* type can either one of the UnitFileChangeTypes listed above, or a negative error. -- 2.7.4