From df4606a991aa8a1bd4fc8b4e9a7d872b3c6a85b1 Mon Sep 17 00:00:00 2001 From: cameronrich Date: Sun, 1 Jul 2012 11:10:14 +0000 Subject: [PATCH] added cast to srand git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@228 9a5d90b5-6617-0410-8a86-bb477d3ed2e3 --- crypto/crypto_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }