fixed warning

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6832 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-15 20:28:30 +00:00
parent 08c585df2d
commit a8c250e7d9

View File

@ -305,7 +305,7 @@ bool RsPluginManager::loadPlugin(const std::string& plugin_name)
void *papi = dlsym(handle,_plugin_API_symbol.c_str()) ; pinfo.API_version = (papi == NULL) ? 0 : (*(uint32_t *)papi) ; void *papi = dlsym(handle,_plugin_API_symbol.c_str()) ; pinfo.API_version = (papi == NULL) ? 0 : (*(uint32_t *)papi) ;
std::cerr << " -> plugin revision number: " << pinfo.svn_revision << std::endl; std::cerr << " -> plugin revision number: " << pinfo.svn_revision << std::endl;
std::cerr << " plugin API number : " << (void*)pinfo.API_version << std::endl; std::cerr << " plugin API number : " << std::hex << pinfo.API_version << std::dec << std::endl;
std::cerr << " retroshare svn number: " << SVN_REVISION_NUMBER << std::endl; std::cerr << " retroshare svn number: " << SVN_REVISION_NUMBER << std::endl;
// Check that the plugin provides a svn revision number and a API number // Check that the plugin provides a svn revision number and a API number