aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorAaron Clauson <[email protected]>2017-11-10 07:06:49 +1100
committerAaron Clauson <[email protected]>2017-11-10 07:06:49 +1100
commitfbf327b13868861c2877c5754caf5a9816f2603c (patch)
treec8fe180d7a8ad74859dfcf28e0f4de96eb2ab4e7 /src/random.h
parentMerge #11580: Do not send (potentially) invalid headers in response to gethea... (diff)
downloaddiscoin-fbf327b13868861c2877c5754caf5a9816f2603c.tar.xz
discoin-fbf327b13868861c2877c5754caf5a9816f2603c.zip
Minimal code changes to allow msvc compilation.
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.h b/src/random.h
index c60ab3617..413adbd46 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.