Skip to content

Commit 78971b8

Browse files
committed
gcc wants an explicit cast here
1 parent eff46b7 commit 78971b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Hooks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static std::filesystem::path getModulePath()
2727
return std::filesystem::path(path);
2828
#else
2929
Dl_info info;
30-
dladdr(getModulePath, &info);
30+
dladdr((const void*)getModulePath, &info);
3131
return std::filesystem::path(info.dli_fname);
3232
#endif
3333
}

0 commit comments

Comments
 (0)