proper c++ cast

This commit is contained in:
Dane Springmeyer 2013-06-02 17:34:44 -07:00
parent e1c299decf
commit ff88efc1fd

View file

@ -73,7 +73,7 @@ PluginInfo::~PluginInfo()
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