aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_crc.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-08 08:10:18 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-08 08:10:18 +0000
commitc2017c2ba13736ee1fe4dc9d811d49bee1641ca3 (patch)
tree93ae178521584311eeecdf1e5448a27925bfc681 /src/util/crypto_crc.c
parent3da5c316b7b992fcc33328043151cf8cb25bf640 (diff)
downloadgnunet-c2017c2ba13736ee1fe4dc9d811d49bee1641ca3.tar.gz
gnunet-c2017c2ba13736ee1fe4dc9d811d49bee1641ca3.zip
fixes
Diffstat (limited to 'src/util/crypto_crc.c')
-rw-r--r--src/util/crypto_crc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/crypto_crc.c b/src/util/crypto_crc.c
index 35d1e2576..a89b059c5 100644
--- a/src/util/crypto_crc.c
+++ b/src/util/crypto_crc.c
@@ -94,8 +94,8 @@ crc32 (uLong crc, const char *buf, size_t len)
94 * @param len the length of the buffer 94 * @param len the length of the buffer
95 * @return the resulting CRC32 checksum 95 * @return the resulting CRC32 checksum
96 */ 96 */
97int 97int32_t
98GNUNET_CRYPTO_crc32_n (const void *buf, unsigned int len) 98GNUNET_CRYPTO_crc32_n (const void *buf, size_t len)
99{ 99{
100 uLong crc; 100 uLong crc;
101 crc = crc32 (0L, Z_NULL, 0); 101 crc = crc32 (0L, Z_NULL, 0);
@@ -103,4 +103,4 @@ GNUNET_CRYPTO_crc32_n (const void *buf, unsigned int len)
103 return crc; 103 return crc;
104} 104}
105 105
106/* end of crc32.c */ 106/* end of crypto_crc.c */