From 9f3c8174913b3763da4895705e3037ffa6544822 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Mon, 11 Mar 2013 23:07:45 +0800
Subject: [PATCH] fix signedness error in prototype

---
 random.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/random.c b/random.c
index 1e59e8ef..9beb7720 100644
--- a/random.c
+++ b/random.c
@@ -26,6 +26,7 @@
 #include "buffer.h"
 #include "dbutil.h"
 #include "bignum.h"
+#include "random.h"
 
 /* this is used to generate unique output from the same hashpool */
 static uint32_t counter = 0;
@@ -136,7 +137,7 @@ out:
 	return ret;
 }
 
-void addrandom(char * buf, int len)
+void addrandom(char * buf, unsigned int len)
 {
 	hash_state hs;
 
-- 
GitLab