2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-03-03 17:15:26 +03:00

Fix compile on ICC 19 (#53)

Fix of #44
This commit is contained in:
hajimura 2022-06-30 23:50:40 +03:00 committed by GitHub
parent 0cf2f709db
commit 80145abcb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ module_handle_t CSysModule::find(void *addr)
{
Dl_info dlinfo;
if ((!dladdr(addr, &dlinfo) && !dlinfo.dli_fbase) || !dlinfo.dli_fname) {
return false;
return INVALID_HANDLE;
}
module_handle_t hHandle = INVALID_HANDLE;