diff --git a/crypto/crypto_misc.c b/crypto/crypto_misc.c index 1dea121d9..62eb6fe70 100644 --- a/crypto/crypto_misc.c +++ b/crypto/crypto_misc.c @@ -124,7 +124,7 @@ EXP_FUNC void STDCALL RNG_initialize() /* start of with a stack to copy across */ int i; memcpy(entropy_pool, &i, ENTROPY_POOL_SIZE); - srand(&i); + srand((unsigned int)&i); #endif }