commit | 97223afa7621f83a7409fc0912b2992005a60c5e | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Sep 24 17:01:27 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Sep 24 17:01:27 2013 -0700 |
tree | a9ea7ec765037fe06b4cc402c788e6d30674c6b2 | |
parent | 10ad12ab2bde8818f023d7f7f308602c035d08c0 [diff] [blame] |
globa: Change unsigned int to size_t where it is the size of a byte array or an index/offset into it.
diff --git a/ndn-cpp/key.hpp b/ndn-cpp/key.hpp index da9a11f..6bfd779 100644 --- a/ndn-cpp/key.hpp +++ b/ndn-cpp/key.hpp
@@ -68,7 +68,7 @@ setKeyData(const std::vector<uint8_t>& keyData) { keyData_ = keyData; } void - setKeyData(const uint8_t *keyData, unsigned int keyDataLength) + setKeyData(const uint8_t *keyData, size_t keyDataLength) { keyData_ = Blob(keyData, keyDataLength); }