qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs
@ 2019-07-18 19:51 Stefan Weil
  2019-07-19  0:27 ` Carlo Arenas
  2019-07-19 16:25 ` Daniel P. Berrangé
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Weil @ 2019-07-18 19:51 UTC (permalink / raw)
  To: Daniel P . Berrangé; +Cc: Stefan Weil, qemu-devel

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 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.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-19 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18 19:51 [Qemu-devel] [PATCH-for-4.1] crypto: Fix data type for len parameter in two typedefs Stefan Weil
2019-07-19  0:27 ` Carlo Arenas
2019-07-19 16:25 ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).