diff dbrandom.c @ 1096:a9e4d66ffb2c

Turn addrandom()'s buf argument into unsigned char * Data is usually represented as "unsigned char *" like genrandom().
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 13:48:16 +0200
parents a1e79ffa5862
children 9da3e7b4fe55
line wrap: on
line diff
--- a/dbrandom.c	Sat May 02 15:58:33 2015 +0200
+++ b/dbrandom.c	Sat May 02 13:48:16 2015 +0200
@@ -141,7 +141,7 @@
 	return ret;
 }
 
-void addrandom(char * buf, unsigned int len)
+void addrandom(unsigned char * buf, unsigned int len)
 {
 	hash_state hs;