Skip to content

Commit 641f43d

Browse files
author
Rostislav Vasilikhin
committed
build fix
1 parent 37c2af6 commit 641f43d

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)