diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-02-23 12:40:21 -0800 | 
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-02-23 12:40:21 -0800 | 
| commit | fe19ad328cf247a9d1114d7692deb4a368a91bb7 (patch) | |
| tree | 7653684e79334b0169031ed889277a7bdf8105ce /service/ControlPlane.cpp | |
| parent | 010dbc8b2b48902c385f8ae9f1411ff34f898774 (diff) | |
| download | infinitytier-fe19ad328cf247a9d1114d7692deb4a368a91bb7.tar.gz infinitytier-fe19ad328cf247a9d1114d7692deb4a368a91bb7.zip  | |
Windows build fix.
Diffstat (limited to 'service/ControlPlane.cpp')
| -rw-r--r-- | service/ControlPlane.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp index 8f59b0d2..9ba001ea 100644 --- a/service/ControlPlane.cpp +++ b/service/ControlPlane.cpp @@ -142,8 +142,8 @@ static void _moonToJson(nlohmann::json &mj,const World &world)  	Utils::snprintf(tmp,sizeof(tmp),"%.16llx",world.id());  	mj["id"] = tmp;  	mj["timestamp"] = world.timestamp(); -	mj["signature"] = Utils::hex(world.signature().data,world.signature().size()); -	mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data,world.updatesMustBeSignedBy().size()); +	mj["signature"] = Utils::hex(world.signature().data,(unsigned int)world.signature().size()); +	mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data,(unsigned int)world.updatesMustBeSignedBy().size());  	nlohmann::json ra = nlohmann::json::array();  	for(std::vector<World::Root>::const_iterator r(world.roots().begin());r!=world.roots().end();++r) {  		nlohmann::json rj;  | 
