summaryrefslogtreecommitdiff
path: root/src/test/test-gpt.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-04-04 12:46:03 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-05 02:19:37 +0900
commit6b41a7b281943d4aef9758988baed573a9b4d67a (patch)
treeda0657b7c7771c3bfb6da460cba933c07c6266a2 /src/test/test-gpt.c
parent9858e6d2e73ad967666612d5cd05b91ef57e77f5 (diff)
downloadsystemd-6b41a7b281943d4aef9758988baed573a9b4d67a.tar.gz
tree-wide: use 'Architecture' type consistently across the tree
Some parts of our tree used 'Architecture' for storing architectures, others used ints. Let's unify on the former. Inspired by #22952's rework of the 'Virtualization' enum.
Diffstat (limited to 'src/test/test-gpt.c')
-rw-r--r--src/test/test-gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-gpt.c b/src/test/test-gpt.c
index 05da7a9e48..5037f498bb 100644
--- a/src/test/test-gpt.c
+++ b/src/test/test-gpt.c
@@ -17,7 +17,7 @@ TEST(gpt_types_against_architectures) {
* types. Also validates whether we can properly categorize the entries. */
FOREACH_STRING(prefix, "root-", "usr-")
- for (int a = 0; a < _ARCHITECTURE_MAX; a++)
+ for (Architecture a = 0; a < _ARCHITECTURE_MAX; a++)
FOREACH_STRING(suffix, "", "-verity", "-verity-sig") {
_cleanup_free_ char *joined = NULL;
sd_id128_t id;