Minimal code changes to allow msvc compilation.

This commit is contained in:
Aaron Clauson
2017-11-10 07:06:49 +11:00
parent 1f4375f8e7
commit fbf327b138
8 changed files with 23 additions and 9 deletions

View File

@@ -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.