nicer
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2011 00:51:39 +0000 (00:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2011 00:51:39 +0000 (00:51 +0000)
src/util/container_bloomfilter.c

index ebd05612836d954b65e6718d97bbfa7601919efe..a3152000bcace7763d4593e200edb202e3c6d9c3 100644 (file)
@@ -340,7 +340,7 @@ iterateBits (const struct GNUNET_CONTAINER_BloomFilter *bf,
   unsigned int slot = 0;
 
   bitCount = bf->addressesPerElement;
-  memcpy (&tmp[0], key, sizeof (GNUNET_HashCode));
+  tmp[0] = *key;
   round = 0;
   while (bitCount > 0)
   {