diff options
Diffstat (limited to 'src/util/container_bloomfilter.c')
-rw-r--r-- | src/util/container_bloomfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 96e15320d7..58725dcc57 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -643,7 +643,7 @@ GNUNET_CONTAINER_bloomfilter_init (const char *data, size_t size, bf->bitArraySize = size; bf->addressesPerElement = k; if (NULL != data) - memcpy (bf->bitArray, data, size); + GNUNET_memcpy (bf->bitArray, data, size); return bf; } @@ -666,7 +666,7 @@ GNUNET_CONTAINER_bloomfilter_get_raw_data (const struct return GNUNET_SYSERR; if (bf->bitArraySize != size) return GNUNET_SYSERR; - memcpy (data, bf->bitArray, size); + GNUNET_memcpy (data, bf->bitArray, size); return GNUNET_OK; } |