summaryrefslogtreecommitdiff
path: root/tests/cl/program/program-tester.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cl/program/program-tester.c')
-rw-r--r--tests/cl/program/program-tester.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cl/program/program-tester.c b/tests/cl/program/program-tester.c
index 39056798f..314871a54 100644
--- a/tests/cl/program/program-tester.c
+++ b/tests/cl/program/program-tester.c
@@ -188,7 +188,7 @@ add_dynamic_array(void** array,
free(old_array);
}
- memcpy((*array) + ((*count)*element_size), data, element_size);
+ memcpy((char *)(*array) + ((*count)*element_size), data, element_size);
(*count)++;
#undef GROW_SIZE
}