summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2017-01-13 15:19:59 -0800
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2017-01-13 15:19:59 -0800
commitd150f9b2bda00217b3043097ada0e9421774e32e (patch)
tree6aeea33cebffc993a49c9b9b1d4e442e9b040182 /controller
parent1346e31a8ee962c40b1f18cb8ff1d5fe866744e3 (diff)
downloadinfinitytier-d150f9b2bda00217b3043097ada0e9421774e32e.tar.gz
infinitytier-d150f9b2bda00217b3043097ada0e9421774e32e.zip
Windows update build in Advanced Installer, and warning removal.
Diffstat (limited to 'controller')
-rw-r--r--controller/JSONDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp
index 4747e470..044f791c 100644
--- a/controller/JSONDB.cpp
+++ b/controller/JSONDB.cpp
@@ -161,7 +161,7 @@ std::string JSONDB::_genPath(const std::string &n,bool create)
std::string p(_basePath);
if (create) OSUtils::mkdir(p.c_str());
- for(unsigned long i=0,j=pt.size()-1;i<j;++i) {
+ for(unsigned long i=0,j=(unsigned long)(pt.size()-1);i<j;++i) {
p.push_back(ZT_PATH_SEPARATOR);
p.append(pt[i]);
if (create) OSUtils::mkdir(p.c_str());