[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: fix ftbfs
From: |
gnunet |
Subject: |
[gnunet] branch master updated: fix ftbfs |
Date: |
Sat, 03 Apr 2021 07:43:57 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new eb75822ed fix ftbfs
eb75822ed is described below
commit eb75822ed7d1080b7997789b0ecc6c40a3ca6610
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Apr 3 07:42:06 2021 +0200
fix ftbfs
---
src/setu/gnunet-service-setu_strata_estimator.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/setu/gnunet-service-setu_strata_estimator.c
b/src/setu/gnunet-service-setu_strata_estimator.c
index 9ca1af0eb..7c9a4deb6 100644
--- a/src/setu/gnunet-service-setu_strata_estimator.c
+++ b/src/setu/gnunet-service-setu_strata_estimator.c
@@ -136,10 +136,11 @@ strata_estimator_insert (struct StrataEstimator *se,
struct IBF_Key key)
{
uint64_t v;
+ unsigned int i;
v = key.key_val;
/* count trailing '1'-bits of v */
- for (unsigned int i = 0; v & 1; v >>= 1, i++)
+ for (i = 0; v & 1; v >>= 1, i++)
/* empty */;
ibf_insert (se->strata[i], key);
}
@@ -156,10 +157,11 @@ strata_estimator_remove (struct StrataEstimator *se,
struct IBF_Key key)
{
uint64_t v;
+ unsigned int i;
v = key.key_val;
/* count trailing '1'-bits of v */
- for (unsigned int i = 0; v & 1; v >>= 1, i++)
+ for (i = 0; v & 1; v >>= 1, i++)
/* empty */;
ibf_remove (se->strata[i], key);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: fix ftbfs,
gnunet <=