Skip to content

Commit df4606a

Browse files
author
cameronrich
committed
added cast to srand
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@228 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
1 parent 24384a3 commit df4606a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/crypto_misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ EXP_FUNC void STDCALL RNG_initialize()
124124
/* start of with a stack to copy across */
125125
int i;
126126
memcpy(entropy_pool, &i, ENTROPY_POOL_SIZE);
127-
srand(&i);
127+
srand((unsigned int)&i);
128128
#endif
129129
}
130130

0 commit comments

Comments
 (0)