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/c/util/crypto.c b/ndn-cpp/c/util/crypto.c index 2cdc91b..ec13f68 100644 --- a/ndn-cpp/c/util/crypto.c +++ b/ndn-cpp/c/util/crypto.c
@@ -6,7 +6,7 @@ #include "crypto.h" -void ndn_digestSha256(const uint8_t *data, unsigned int dataLength, uint8_t *digest) +void ndn_digestSha256(const uint8_t *data, size_t dataLength, uint8_t *digest) { SHA256_CTX sha256; SHA256_Init(&sha256);