summaryrefslogtreecommitdiff
path: root/tests/gem_mmap_gtt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_mmap_gtt.c')
-rw-r--r--tests/gem_mmap_gtt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_mmap_gtt.c b/tests/gem_mmap_gtt.c
index 00fe905d..8383cd4c 100644
--- a/tests/gem_mmap_gtt.c
+++ b/tests/gem_mmap_gtt.c
@@ -474,7 +474,7 @@ test_huge_bo(int fd, int huge, int tiling)
#include <smmintrin.h>
__attribute__((noinline))
-static void copy_wc_page(void *dst, const void *src)
+static void copy_wc_page(void *dst, void *src)
{
if (igt_x86_features() & SSE4_1) {
__m128i *S = (__m128i *)src;