diff options
Diffstat (limited to 'src/util/crypto_crc.c')
-rw-r--r-- | src/util/crypto_crc.c | 6 |
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 | */ |
97 | int | 97 | int32_t |
98 | GNUNET_CRYPTO_crc32_n (const void *buf, unsigned int len) | 98 | GNUNET_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 */ |