mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 07:06:39 +00:00
Eliminate warning.
This commit is contained in:
parent
9284e4edfe
commit
88cba48f45
2
one.cpp
2
one.cpp
@ -774,7 +774,7 @@ static int idtool(int argc,char **argv)
|
|||||||
char fn[128];
|
char fn[128];
|
||||||
Utils::snprintf(fn,sizeof(fn),"%.16llx_%.16llx.moon",w.id(),now);
|
Utils::snprintf(fn,sizeof(fn),"%.16llx_%.16llx.moon",w.id(),now);
|
||||||
OSUtils::writeFile(fn,wbuf.data(),wbuf.size());
|
OSUtils::writeFile(fn,wbuf.data(),wbuf.size());
|
||||||
printf("wrote %s (signed world with timestamp %llu)" ZT_EOL_S,fn,now);
|
printf("wrote %s (signed world with timestamp %llu)" ZT_EOL_S,fn,(unsigned long long)now);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
idtoolPrintHelp(stdout,argv[0]);
|
idtoolPrintHelp(stdout,argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user