proper c++ cast
This commit is contained in:
parent
e1c299decf
commit
ff88efc1fd
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ PluginInfo::~PluginInfo()
|
||||||
|
|
||||||
void * PluginInfo::get_symbol(std::string const& sym_name) const
|
void * PluginInfo::get_symbol(std::string const& sym_name) const
|
||||||
{
|
{
|
||||||
return dlsym(module_->dl, sym_name.c_str());
|
return static_cast<void *>(dlsym(module_->dl, sym_name.c_str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string const& PluginInfo::name() const
|
std::string const& PluginInfo::name() const
|
||||||
|
|
Loading…
Reference in a new issue