Build fixes.

This commit is contained in:
Adam Ierymenko 2015-04-24 12:29:31 -07:00
parent 5202fbdaf3
commit 883a216d2a
6 changed files with 63 additions and 6 deletions

View file

@ -214,7 +214,7 @@ public:
_controlPlane = new ControlPlane(this,_node);
_controlPlane->addAuthToken(authToken.c_str());
if (_master)
_controlPlane->mount("controller",_master);
_controlPlane->mount("controller",reinterpret_cast<ControlPlaneSubsystem *>(_master));
{ // Remember networks from previous session
std::vector<std::string> networksDotD(OSUtils::listDirectory((_homePath + ZT_PATH_SEPARATOR_S + "networks.d").c_str()));