From 641f43dd48cf9d9c42d728a8407644564b714312 Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Tue, 12 Nov 2024 17:04:42 +0100 Subject: [PATCH] build fix --- modules/core/src/opencl/runtime/opencl_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/opencl/runtime/opencl_core.cpp b/modules/core/src/opencl/runtime/opencl_core.cpp index 3a454faa29..35d24eb1cd 100644 --- a/modules/core/src/opencl/runtime/opencl_core.cpp +++ b/modules/core/src/opencl/runtime/opencl_core.cpp @@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name) { const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i]; if (!path.empty()) { - handle = GetHandle(path); + handle = GetHandle(path.c_str()); if (handle) { foundOpenCL = true; break;