mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-26 08:01:05 +00:00
Warning removal.
This commit is contained in:
parent
c7d370c17f
commit
0d8e134f9f
@ -494,7 +494,7 @@ std::string OSUtils::jsonBinFromHex(const nlohmann::json &jv)
|
|||||||
{
|
{
|
||||||
std::string s(jsonString(jv,""));
|
std::string s(jsonString(jv,""));
|
||||||
if (s.length() > 0) {
|
if (s.length() > 0) {
|
||||||
unsigned int buflen = (s.length() / 2) + 1;
|
unsigned int buflen = (unsigned int)((s.length() / 2) + 1);
|
||||||
char *buf = new char[buflen];
|
char *buf = new char[buflen];
|
||||||
try {
|
try {
|
||||||
unsigned int l = Utils::unhex(s.c_str(),buf,buflen);
|
unsigned int l = Utils::unhex(s.c_str(),buf,buflen);
|
||||||
|
Loading…
Reference in New Issue
Block a user