aboutsummaryrefslogtreecommitdiff
path: root/src/util/container_multipeermap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/container_multipeermap.c')
-rw-r--r--src/util/container_multipeermap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/container_multipeermap.c b/src/util/container_multipeermap.c
index 64ef26928..6c62e7403 100644
--- a/src/util/container_multipeermap.c
+++ b/src/util/container_multipeermap.c
@@ -248,7 +248,7 @@ idx_of (const struct GNUNET_CONTAINER_MultiPeerMap *map,
248 unsigned int kx; 248 unsigned int kx;
249 249
250 GNUNET_assert (NULL != map); 250 GNUNET_assert (NULL != map);
251 memcpy (&kx, key, sizeof (kx)); 251 GNUNET_memcpy (&kx, key, sizeof (kx));
252 return kx % map->map_length; 252 return kx % map->map_length;
253} 253}
254 254