diff dbrandom.c @ 1278:0c47d97aa9d5

merge
author Matt Johnston <matt@ucc.asn.au>
date Wed, 16 Mar 2016 22:53:27 +0800
parents 9da3e7b4fe55
children 750ec4ec4cbe b28624698130
line wrap: on
line diff
--- a/dbrandom.c	Tue Mar 15 23:23:31 2016 +0800
+++ b/dbrandom.c	Wed Mar 16 22:53:27 2016 +0800
@@ -32,7 +32,7 @@
 /* this is used to generate unique output from the same hashpool */
 static uint32_t counter = 0;
 /* the max value for the counter, so it won't integer overflow */
-#define MAX_COUNTER 1<<30 
+#define MAX_COUNTER (1<<30)
 
 static unsigned char hashpool[SHA1_HASH_SIZE] = {0};
 static int donerandinit = 0;