gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: RPS: Cast to int32_t instea


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RPS: Cast to int32_t instead of uint32_t
Date: Tue, 26 Feb 2019 15:36:32 +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 51b3ec71f RPS: Cast to int32_t instead of uint32_t
51b3ec71f is described below

commit 51b3ec71fca6c78a9d0abaa90feafff611968e38
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Feb 26 15:35:19 2019 +0100

    RPS: Cast to int32_t instead of uint32_t
---
 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 247892ee0..7e032997e 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[(uint32_t) (CustomPeerMap_size (sub->push_map) -
+  sub->push_delta[(int32_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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]