We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eff46b7 commit 78971b8Copy full SHA for 78971b8
1 file changed
library/Hooks.cpp
@@ -27,7 +27,7 @@ static std::filesystem::path getModulePath()
27
return std::filesystem::path(path);
28
#else
29
Dl_info info;
30
- dladdr(getModulePath, &info);
+ dladdr((const void*)getModulePath, &info);
31
return std::filesystem::path(info.dli_fname);
32
#endif
33
}
0 commit comments