diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-03-11 23:07:45 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-03-11 23:07:45 +0800 |
commit | 9f3c8174913b3763da4895705e3037ffa6544822 (patch) | |
tree | 6c870425d1a5b4e6cd9324652479ae052e3a1521 /random.c | |
parent | a9cf0ca25f4946751cf946447617ee2330930b88 (diff) |
fix signedness error in prototype
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |