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/common.cpp b/ndn-cpp/common.cpp index 70d3a90..fcebfba 100644 --- a/ndn-cpp/common.cpp +++ b/ndn-cpp/common.cpp
@@ -19,7 +19,7 @@ ostringstream result; result.flags(ios::hex | ios::uppercase); - for (unsigned int i = 0; i < array.size(); ++i) { + for (size_t i = 0; i < array.size(); ++i) { uint8_t x = array[i]; if (x < 16) result << '0';