Commit d95263f5 authored by Clay Haapala's avatar Clay Haapala Committed by David S. Miller

[CRYPTO]: Fix typing in crc32c's chksum_update

parent 596fcdee
......@@ -56,12 +56,12 @@ static int chksum_setkey(void *ctx, const u8 *key, unsigned int keylen,
return 0;
}
static void chksum_update(void *ctx, const u8 *data, size_t length)
static void chksum_update(void *ctx, const u8 *data, unsigned int length)
{
struct chksum_ctx *mctx = ctx;
u32 mcrc;
mcrc = crc32c(mctx->crc, data, length);
mcrc = crc32c(mctx->crc, data, (size_t)length);
mctx->crc = mcrc;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment