summaryrefslogtreecommitdiff
path: root/src/util/container_bloomfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/container_bloomfilter.c')
-rw-r--r--src/util/container_bloomfilter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c
index 9ae8206fe..5016b70ef 100644
--- a/src/util/container_bloomfilter.c
+++ b/src/util/container_bloomfilter.c
@@ -183,7 +183,7 @@ static void
183incrementBit (char *bitArray, unsigned int bitIdx, 183incrementBit (char *bitArray, unsigned int bitIdx,
184 const struct GNUNET_DISK_FileHandle *fh) 184 const struct GNUNET_DISK_FileHandle *fh)
185{ 185{
186 off_t fileSlot; 186 uint64_t fileSlot;
187 unsigned char value; 187 unsigned char value;
188 unsigned int high; 188 unsigned int high;
189 unsigned int low; 189 unsigned int low;
@@ -231,7 +231,7 @@ static void
231decrementBit (char *bitArray, unsigned int bitIdx, 231decrementBit (char *bitArray, unsigned int bitIdx,
232 const struct GNUNET_DISK_FileHandle *fh) 232 const struct GNUNET_DISK_FileHandle *fh)
233{ 233{
234 off_t fileSlot; 234 uint64_t fileSlot;
235 unsigned char value; 235 unsigned char value;
236 unsigned int high; 236 unsigned int high;
237 unsigned int low; 237 unsigned int low;
@@ -453,10 +453,10 @@ GNUNET_CONTAINER_bloomfilter_load (const char *filename, size_t size,
453{ 453{
454 struct GNUNET_CONTAINER_BloomFilter *bf; 454 struct GNUNET_CONTAINER_BloomFilter *bf;
455 char *rbuff; 455 char *rbuff;
456 off_t pos; 456 OFF_T pos;
457 int i; 457 int i;
458 size_t ui; 458 size_t ui;
459 off_t fsize; 459 OFF_T fsize;
460 int must_read; 460 int must_read;
461 461
462 GNUNET_assert (NULL != filename); 462 GNUNET_assert (NULL != filename);