Skip to content

Commit ff639d1

Browse files
authored
Merge pull request opencv#26451 from savuor:rv/fix_get_handle
Build fix for opencl_core.cpp
2 parents c230841 + 641f43d commit ff639d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/opencl/runtime/opencl_core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name)
204204
{
205205
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
206206
if (!path.empty()) {
207-
handle = GetHandle(path);
207+
handle = GetHandle(path.c_str());
208208
if (handle) {
209209
foundOpenCL = true;
210210
break;

0 commit comments

Comments
 (0)