summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2005-07-26 04:25:05 +0000
committerGeoff Thorpe <geoff@openssl.org>2005-07-26 04:25:05 +0000
commitf920c5b590e3317fa740ca62fd87dbcd60978a16 (patch)
tree6d98101ae4c8ef85201ad9c0c6d67e015bae2208 /engines
parent05fc7018f8d3e33a6aad5073fb09cb6224d128c3 (diff)
Fix signed/unsigned warnings.
Diffstat (limited to 'engines')
-rw-r--r--engines/e_cswift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_cswift.c b/engines/e_cswift.c
index 2017e48c0e..d5f1d4e05f 100644
--- a/engines/e_cswift.c
+++ b/engines/e_cswift.c
@@ -1062,7 +1062,7 @@ static int cswift_rand_bytes(unsigned char *buf, int num)
/* limitation of cswift with values not a multiple of 32 */
/************************************************************************/
- while(num >= sizeof(buf32))
+ while(num >= (int)sizeof(buf32))
{
largenum.value = buf;
largenum.nbytes = sizeof(buf32);