diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:45:41 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-22 22:45:41 +0200 |
commit | 9ed99558e21ac6b81f112670b982262d2349e5a5 (patch) | |
tree | 2b4e5b064a1968f38e736794cc13f38e955f82f4 /src/util/age_restriction.c | |
parent | a199ba7fe61d1ea0aa7f9dcd4083ae2e52546c40 (diff) |
-fix clang compiler warnings
Diffstat (limited to 'src/util/age_restriction.c')
-rw-r--r-- | src/util/age_restriction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/age_restriction.c b/src/util/age_restriction.c index 189ec4e8c..b87c8543e 100644 --- a/src/util/age_restriction.c +++ b/src/util/age_restriction.c @@ -39,7 +39,7 @@ TALER_age_commitment_hash ( } GNUNET_assert (__builtin_popcount (commitment->mask.bits) - 1 == - commitment->num); + (int) commitment->num); hash_context = GNUNET_CRYPTO_hash_context_start (); @@ -178,7 +178,7 @@ TALER_age_commitment_derive ( GNUNET_assert (NULL != newacp); GNUNET_assert (orig->proof.num <= orig->commitment.num); - GNUNET_assert (orig->commitment.num == + GNUNET_assert (((int) orig->commitment.num) == __builtin_popcount (orig->commitment.mask.bits) - 1); newacp->commitment.mask = orig->commitment.mask; |