From fbf327b13868861c2877c5754caf5a9816f2603c Mon Sep 17 00:00:00 2001 From: Aaron Clauson Date: Fri, 10 Nov 2017 07:06:49 +1100 Subject: Minimal code changes to allow msvc compilation. --- src/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/random.h') diff --git a/src/random.h b/src/random.h index c60ab36179..413adbd464 100644 --- a/src/random.h +++ b/src/random.h @@ -128,7 +128,7 @@ public: * sure that the underlying OS APIs for all platforms support the number. * (many cap out at 256 bytes). */ -static const ssize_t NUM_OS_RANDOM_BYTES = 32; +static const int NUM_OS_RANDOM_BYTES = 32; /** Get 32 bytes of system entropy. Do not use this in application code: use * GetStrongRandBytes instead. -- cgit v1.2.3