From ec63aa2302349c7b2ff29ef983bee83faefcd02d Mon Sep 17 00:00:00 2001 From: Konstantin Zhuravlyov Date: Tue, 16 Aug 2022 17:19:45 -0400 Subject: [PATCH] SWDEV-350564 - Silence int-conversion warnings as errors Change-Id: Ie7cf8bef0ce41df92369aa45c76493d5d0a6669b --- opencl/tests/ocltst/module/runtime/OCLSVM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/tests/ocltst/module/runtime/OCLSVM.cpp b/opencl/tests/ocltst/module/runtime/OCLSVM.cpp index 7fd95df56b..c311e202dd 100644 --- a/opencl/tests/ocltst/module/runtime/OCLSVM.cpp +++ b/opencl/tests/ocltst/module/runtime/OCLSVM.cpp @@ -69,7 +69,7 @@ const static char* sources[] = { STR(__kernel void test(__global ulong* ptr) { while (ptr) { *ptr = 0xDEADBEEF; - ptr = *((__global ulong*)(ptr + 1)); + ptr = *((__global ulong* __global*)(ptr + 1)); } }), STR(__kernel void test(__global volatile int* ptr, int numIterations) {