summaryrefslogtreecommitdiffstats
path: root/engines/e_cswift.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/e_cswift.c')
-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);