diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-01-13 14:22:36 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2017-01-13 14:22:36 -0800 |
| commit | 1346e31a8ee962c40b1f18cb8ff1d5fe866744e3 (patch) | |
| tree | 57b5ec7d8bdf094dcce714c52315dc845208ed05 /one.cpp | |
| parent | 54f25b14ee629bc2d8e68f2b373b832cfef522f7 (diff) | |
| download | infinitytier-1346e31a8ee962c40b1f18cb8ff1d5fe866744e3.tar.gz infinitytier-1346e31a8ee962c40b1f18cb8ff1d5fe866744e3.zip | |
Windows build fixes, Software update fix, warning removal.
Diffstat (limited to 'one.cpp')
| -rw-r--r-- | one.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -495,7 +495,7 @@ static int cli(int argc,char **argv) (std::string("/network/") + arg1).c_str(), requestHeaders, jsons, - strlen(jsons), + (unsigned long)strlen(jsons), responseHeaders, responseBody); if (scode == 200) { @@ -572,7 +572,7 @@ static int idtool(int argc,char **argv) int vanityBits = 0; if (argc >= 5) { vanity = Utils::hexStrToU64(argv[4]) & 0xffffffffffULL; - vanityBits = 4 * strlen(argv[4]); + vanityBits = 4 * (int)strlen(argv[4]); if (vanityBits > 40) vanityBits = 40; } |
