[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: RPS: Fix non-int array subs
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: RPS: Fix non-int array subscript |
Date: |
Tue, 26 Feb 2019 14:39:42 +0100 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 5d0aede79 RPS: Fix non-int array subscript
5d0aede79 is described below
commit 5d0aede797cc6b645f26e0ef7b0fe435734058fa
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Feb 26 14:39:04 2019 +0100
RPS: Fix non-int array subscript
---
src/rps/gnunet-service-rps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 8c50cf9d5..247892ee0 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -4388,7 +4388,7 @@ do_round (void *cls)
HISTOGRAM_FILE_SLOTS);
}
// FIXME check bounds of histogram
- sub->push_delta[(CustomPeerMap_size (sub->push_map) -
+ sub->push_delta[(uint32_t) (CustomPeerMap_size (sub->push_map) -
(alpha * sub->view_size_est_need)) +
(HISTOGRAM_FILE_SLOTS/2)]++;
if (sub == msub)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: RPS: Fix non-int array subscript,
gnunet <=