diff options
Diffstat (limited to 'src/util/container_bloomfilter.c')
-rw-r--r-- | src/util/container_bloomfilter.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 08a083df4..579c1261d 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c | |||
@@ -181,7 +181,7 @@ static void | |||
181 | incrementBit (char *bitArray, unsigned int bitIdx, | 181 | incrementBit (char *bitArray, unsigned int bitIdx, |
182 | const struct GNUNET_DISK_FileHandle *fh) | 182 | const struct GNUNET_DISK_FileHandle *fh) |
183 | { | 183 | { |
184 | OFF_T fileSlot; | 184 | off_t fileSlot; |
185 | unsigned char value; | 185 | unsigned char value; |
186 | unsigned int high; | 186 | unsigned int high; |
187 | unsigned int low; | 187 | unsigned int low; |
@@ -229,7 +229,7 @@ static void | |||
229 | decrementBit (char *bitArray, unsigned int bitIdx, | 229 | decrementBit (char *bitArray, unsigned int bitIdx, |
230 | const struct GNUNET_DISK_FileHandle *fh) | 230 | const struct GNUNET_DISK_FileHandle *fh) |
231 | { | 231 | { |
232 | OFF_T fileslot; | 232 | off_t fileslot; |
233 | unsigned char value; | 233 | unsigned char value; |
234 | unsigned int high; | 234 | unsigned int high; |
235 | unsigned int low; | 235 | unsigned int low; |
@@ -462,10 +462,10 @@ GNUNET_CONTAINER_bloomfilter_load (const char *filename, size_t size, | |||
462 | { | 462 | { |
463 | struct GNUNET_CONTAINER_BloomFilter *bf; | 463 | struct GNUNET_CONTAINER_BloomFilter *bf; |
464 | char *rbuff; | 464 | char *rbuff; |
465 | OFF_T pos; | 465 | off_t pos; |
466 | int i; | 466 | int i; |
467 | size_t ui; | 467 | size_t ui; |
468 | OFF_T fsize; | 468 | off_t fsize; |
469 | int must_read; | 469 | int must_read; |
470 | 470 | ||
471 | GNUNET_assert (NULL != filename); | 471 | GNUNET_assert (NULL != filename); |