diff options
Diffstat (limited to 'src/util/test_container_bloomfilter.c')
-rw-r--r-- | src/util/test_container_bloomfilter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/test_container_bloomfilter.c b/src/util/test_container_bloomfilter.c index f881bb367..f9743bdca 100644 --- a/src/util/test_container_bloomfilter.c +++ b/src/util/test_container_bloomfilter.c | |||
@@ -36,16 +36,16 @@ | |||
36 | * Generate a random hashcode. | 36 | * Generate a random hashcode. |
37 | */ | 37 | */ |
38 | static void | 38 | static void |
39 | nextHC (GNUNET_HashCode * hc) | 39 | nextHC (struct GNUNET_HashCode * hc) |
40 | { | 40 | { |
41 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, hc); | 41 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, hc); |
42 | } | 42 | } |
43 | 43 | ||
44 | static int | 44 | static int |
45 | add_iterator (void *cls, GNUNET_HashCode * next) | 45 | add_iterator (void *cls, struct GNUNET_HashCode * next) |
46 | { | 46 | { |
47 | int *ret = cls; | 47 | int *ret = cls; |
48 | GNUNET_HashCode pos; | 48 | struct GNUNET_HashCode pos; |
49 | 49 | ||
50 | if (0 == (*ret)--) | 50 | if (0 == (*ret)--) |
51 | return GNUNET_NO; | 51 | return GNUNET_NO; |
@@ -59,7 +59,7 @@ main (int argc, char *argv[]) | |||
59 | { | 59 | { |
60 | struct GNUNET_CONTAINER_BloomFilter *bf; | 60 | struct GNUNET_CONTAINER_BloomFilter *bf; |
61 | struct GNUNET_CONTAINER_BloomFilter *bfi; | 61 | struct GNUNET_CONTAINER_BloomFilter *bfi; |
62 | GNUNET_HashCode tmp; | 62 | struct GNUNET_HashCode tmp; |
63 | int i; | 63 | int i; |
64 | int ok1; | 64 | int ok1; |
65 | int ok2; | 65 | int ok2; |