Mercurial > dropbear
changeset 698:5f2d16d3e598
fix signedness error in prototype
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 11 Mar 2013 23:07:45 +0800 |
parents | aadfa8de977d |
children | caa9979fb6b9 |
files | random.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/random.c Sun Mar 03 11:47:41 2013 +0800 +++ b/random.c Mon Mar 11 23:07:45 2013 +0800 @@ -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 @@ return ret; } -void addrandom(char * buf, int len) +void addrandom(char * buf, unsigned int len) { hash_state hs;