From e5df7ee78ee210b2c75935ba2fa16dc47ea9cbb4 Mon Sep 17 00:00:00 2001 From: Scott Date: Tue, 1 Nov 2016 17:51:39 -0400 Subject: [PATCH] Update random.h While I'm making an argument for better consistency, I might as well be self-consistent. --- src/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/random.h b/src/random.h index 5bc8b5480..fb78a139a 100644 --- a/src/random.h +++ b/src/random.h @@ -20,7 +20,7 @@ void RandAddSeedPerfmon(); /** * Functions to gather random data via the OpenSSL PRNG */ -void GetRandBytes(unsigned char* buf, int num); +void GetRandBytes(unsigned char* buf, size_t num); uint64_t GetRand(uint64_t nMax); int GetRandInt(int nMax); uint256 GetRandHash();