projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change default configurations on systems with UNIX domain sockets to NOT specify...
[oweals/gnunet.git]
/
src
/
util
/
container_bloomfilter.c
diff --git
a/src/util/container_bloomfilter.c
b/src/util/container_bloomfilter.c
index 9ae8206fe17721d2c04e9a92d57d0d04cc1773d8..84aab6b17865dd9484911136bec62ec725738c8a 100644
(file)
--- a/
src/util/container_bloomfilter.c
+++ b/
src/util/container_bloomfilter.c
@@
-183,7
+183,7
@@
static void
incrementBit (char *bitArray, unsigned int bitIdx,
const struct GNUNET_DISK_FileHandle *fh)
{
incrementBit (char *bitArray, unsigned int bitIdx,
const struct GNUNET_DISK_FileHandle *fh)
{
-
off_t
fileSlot;
+
OFF_T
fileSlot;
unsigned char value;
unsigned int high;
unsigned int low;
unsigned char value;
unsigned int high;
unsigned int low;
@@
-231,7
+231,7
@@
static void
decrementBit (char *bitArray, unsigned int bitIdx,
const struct GNUNET_DISK_FileHandle *fh)
{
decrementBit (char *bitArray, unsigned int bitIdx,
const struct GNUNET_DISK_FileHandle *fh)
{
-
off_t
fileSlot;
+
OFF_T
fileSlot;
unsigned char value;
unsigned int high;
unsigned int low;
unsigned char value;
unsigned int high;
unsigned int low;
@@
-453,10
+453,10
@@
GNUNET_CONTAINER_bloomfilter_load (const char *filename, size_t size,
{
struct GNUNET_CONTAINER_BloomFilter *bf;
char *rbuff;
{
struct GNUNET_CONTAINER_BloomFilter *bf;
char *rbuff;
-
off_t
pos;
+
OFF_T
pos;
int i;
size_t ui;
int i;
size_t ui;
-
off_t
fsize;
+
OFF_T
fsize;
int must_read;
GNUNET_assert (NULL != filename);
int must_read;
GNUNET_assert (NULL != filename);