From d9e72f536edc429a375957bcbcc9cc9603ce965b Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Sun, 18 Jan 2015 05:06:13 +0000 Subject: fixed integer sizes and _get_rand_peer() --- src/rps/gnunet-service-rps_sampler.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/rps/gnunet-service-rps_sampler.h') diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h index 41afe8da9..451d3cdb0 100644 --- a/src/rps/gnunet-service-rps_sampler.h +++ b/src/rps/gnunet-service-rps_sampler.h @@ -57,7 +57,7 @@ typedef void */ typedef void (*RPS_sampler_n_rand_peers_ready_cb) (void *cls, - struct GNUNET_PeerIdentity *ids, uint64_t num_peers); + struct GNUNET_PeerIdentity *ids, uint32_t num_peers); /** @@ -124,7 +124,7 @@ RPS_sampler_reinitialise_by_value (const struct GNUNET_PeerIdentity *id); * Only used internally */ const struct GNUNET_PeerIdentity * -RPS_sampler_get_n_rand_peers_ (uint64_t n); +RPS_sampler_get_n_rand_peers_ (uint32_t n); /** @@ -140,7 +140,7 @@ RPS_sampler_get_n_rand_peers_ (uint64_t n); */ void RPS_sampler_get_n_rand_peers (RPS_sampler_n_rand_peers_ready_cb cb, - void *cls, uint64_t num_peers); + void *cls, uint32_t num_peers); /** @@ -150,7 +150,7 @@ RPS_sampler_get_n_rand_peers (RPS_sampler_n_rand_peers_ready_cb cb, * * @return the number of occurrences of id. */ - uint64_t + uint32_t RPS_sampler_count_id (const struct GNUNET_PeerIdentity *id); -- cgit v1.2.3