From edea73b1f8d517ca3d41caa0ba7632f95e5c8272 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 1 Jan 2016 09:40:24 +0100 Subject: add parentheses to macro --- dbrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbrandom.c') diff --git a/dbrandom.c b/dbrandom.c index 02e7803..239b044 100644 --- a/dbrandom.c +++ b/dbrandom.c @@ -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; -- cgit v1.2.3