aboutsummaryrefslogtreecommitdiff
path: root/crypto/random-gnutls.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/random-gnutls.c')
-rw-r--r--crypto/random-gnutls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/random-gnutls.c b/crypto/random-gnutls.c
index 445fd6a30b..ed6c9ca12f 100644
--- a/crypto/random-gnutls.c
+++ b/crypto/random-gnutls.c
@@ -26,7 +26,7 @@
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
-int qcrypto_random_bytes(uint8_t *buf,
+int qcrypto_random_bytes(void *buf,
size_t buflen,
Error **errp)
{