From 496bdd77aea42f47051c9daf8864e98e7d40057e Mon Sep 17 00:00:00 2001 From: Maciej Dziuban Date: Thu, 26 Nov 2020 12:43:21 +0000 Subject: [PATCH] Add missing cast Signed-off-by: Maciej Dziuban --- opencl/source/cl_device/cl_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/source/cl_device/cl_device.cpp b/opencl/source/cl_device/cl_device.cpp index 2bf790e4c6..b77b362dde 100644 --- a/opencl/source/cl_device/cl_device.cpp +++ b/opencl/source/cl_device/cl_device.cpp @@ -222,7 +222,7 @@ cl_command_queue_capabilities_intel ClDevice::getQueueFamilyCapabilities(EngineG cl_command_queue_capabilities_intel disabledProperties = 0u; if (hwHelper.isCopyOnlyEngineType(type)) { - disabledProperties |= CL_QUEUE_CAPABILITY_KERNEL_INTEL; + disabledProperties |= static_cast(CL_QUEUE_CAPABILITY_KERNEL_INTEL); } if (disabledProperties != 0) {