From: Christian Grothoff Date: Wed, 3 Aug 2016 09:41:42 +0000 (+0000) Subject: -fix warning X-Git-Tag: initial-import-from-subversion-38251~434 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d06cba9782805149f87dd9d17afea2bf058707cb;p=oweals%2Fgnunet.git -fix warning --- diff --git a/src/set/set_api.c b/src/set/set_api.c index 71b3b5275..b8daf3212 100644 --- a/src/set/set_api.c +++ b/src/set/set_api.c @@ -1134,8 +1134,9 @@ GNUNET_SET_element_dup (const struct GNUNET_SET_Element *element) copy->size = element->size; copy->element_type = element->element_type; copy->data = ©[1]; - GNUNET_memcpy (copy->data, element->data, copy->size); - + GNUNET_memcpy (©[1], + element->data, + copy->size); return copy; }