From 4c58bc3c903a271fd8a27e05e9561fc9df2bb183 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 11 Jul 2019 21:15:07 +0200 Subject: [PATCH] crypto: Fix data type for len parameter in two typedefs Signed-off-by: Stefan Weil --- crypto/hash-nettle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/hash-nettle.c b/crypto/hash-nettle.c index 96f186f442..074cece468 100644 --- a/crypto/hash-nettle.c +++ b/crypto/hash-nettle.c @@ -28,10 +28,10 @@ typedef void (*qcrypto_nettle_init)(void *ctx); typedef void (*qcrypto_nettle_write)(void *ctx, - unsigned int len, + size_t len, const uint8_t *buf); typedef void (*qcrypto_nettle_result)(void *ctx, - unsigned int len, + size_t len, uint8_t *buf); union qcrypto_hash_ctx { -- 2.11.4.GIT