commit 537e3dd2dd52c7362b906917c7432344167f0cc4
parent c4227f91e5c8689822af78c46a1045fa913c8250
Author: Benjamin Piaud <benjamin.piaud@meso-star.com>
Date: Mon, 14 May 2018 12:34:54 +0200
Fix gcc warning.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_sdis_accum_buffer.c b/src/test_sdis_accum_buffer.c
@@ -60,7 +60,7 @@ main(int argc, char** argv)
accums_tmp = MEM_CALLOC
(&allocator, layout.width*layout.height, sizeof(struct sdis_accum));
CHK(accums_tmp != NULL);
- memcpy(accums_tmp, accums_tmp,
+ memmove(accums_tmp, accums_tmp,
layout.width*layout.height*sizeof(struct sdis_accum));
MEM_RM(&allocator, accums_tmp);