summaryrefslogtreecommitdiff
path: root/node/Dictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Dictionary.cpp')
-rw-r--r--node/Dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Dictionary.cpp b/node/Dictionary.cpp
index 835cc0c9..e050143b 100644
--- a/node/Dictionary.cpp
+++ b/node/Dictionary.cpp
@@ -110,7 +110,7 @@ bool Dictionary::verify(const Identity &id) const
if (sig == end())
return false;
std::string sigbin(Utils::unhex(sig->second));
- return id.verify(buf.data(),buf.length(),sigbin.data(),sigbin.length());
+ return id.verify(buf.data(),(unsigned int)buf.length(),sigbin.data(),sigbin.length());
} catch ( ... ) {
return false;
}