mirror of https://github.com/Icinga/icinga2.git
Build fix for Solaris
refs #6821 Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
parent
b02a1ff9d6
commit
20fc8773b6
|
@ -90,7 +90,7 @@ String Utility::GetSymbolName(const void *addr)
|
|||
#ifdef HAVE_DLADDR
|
||||
Dl_info dli;
|
||||
|
||||
if (dladdr(addr, &dli) > 0)
|
||||
if (dladdr(const_cast<void *>(addr), &dli) > 0)
|
||||
return dli.dli_sname;
|
||||
#endif /* HAVE_DLADDR */
|
||||
|
||||
|
|
Loading…
Reference in New Issue