summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr33846.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/pr33846.c')
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr33846.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/pr33846.c b/gcc/testsuite/gcc.dg/vect/pr33846.c
index f31e207bdef..3f421c9b75d 100644
--- a/gcc/testsuite/gcc.dg/vect/pr33846.c
+++ b/gcc/testsuite/gcc.dg/vect/pr33846.c
@@ -7,7 +7,9 @@ int clamp_val (int i)
return ~i >> 31;
}
-void _mix_some_samples (long buf, int *mix_buffer, int mix_size)
+typedef __PTRDIFF_TYPE__ intptr_t;
+
+void _mix_some_samples (intptr_t buf, int *mix_buffer, int mix_size)
{
int i;
signed int *p = mix_buffer;