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/util/dynamic-uint8-vector.hpp b/ndn-cpp/util/dynamic-uint8-vector.hpp
index 2c6247e..9550899 100644
--- a/ndn-cpp/util/dynamic-uint8-vector.hpp
+++ b/ndn-cpp/util/dynamic-uint8-vector.hpp
@@ -23,7 +23,7 @@
* Create a new DynamicUInt8Vector with an initial length.
* @param initialLength The initial size of the allocated vector.
*/
- DynamicUInt8Vector(unsigned int initialLength);
+ DynamicUInt8Vector(size_t initialLength);
/**
* Get the shared_ptr to the allocated vector.
@@ -41,7 +41,7 @@
* @return The front of the allocated vector.
*/
static uint8_t*
- realloc(struct ndn_DynamicUInt8Array *self, uint8_t *array, unsigned int length);
+ realloc(struct ndn_DynamicUInt8Array *self, uint8_t *array, size_t length);
ptr_lib::shared_ptr<std::vector<uint8_t> > vector_;
};