diff options
Diffstat (limited to 'src/ats/test_ats_lib.c')
-rw-r--r-- | src/ats/test_ats_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/test_ats_lib.c b/src/ats/test_ats_lib.c index b0c42ac3d8..d02d257ad2 100644 --- a/src/ats/test_ats_lib.c +++ b/src/ats/test_ats_lib.c @@ -364,7 +364,7 @@ make_peer (uint32_t pid, memset (pk, (int) pid, sizeof (struct GNUNET_PeerIdentity)); - memcpy (pk, + GNUNET_memcpy (pk, &pid, sizeof (uint32_t)); } |