diff options
Diffstat (limited to 'src/digest.c')
| -rw-r--r-- | src/digest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/digest.c b/src/digest.c index 64c2c49b1..ce0e222e1 100644 --- a/src/digest.c +++ b/src/digest.c @@ -376,8 +376,7 @@ static int const algorithm_bits[] = 512, 512, 512, 256, 0 }; -static_assert (ARRAY_CARDINALITY (algorithm_bits) - == ARRAY_CARDINALITY (algorithm_args)); +static_assert (countof (algorithm_bits) == countof (algorithm_args)); static bool algorithm_specified = false; static enum Algorithm cksum_algorithm = crc; |
