Fix signed/unsigned warnings.
[openssl.git] / engines / e_cswift.c
index 2017e48c0e0e6b2d7c01e6297ae322d2e4c1573c..d5f1d4e05f86b9490ecb0307f545d8679026cd9e 100644 (file)
@@ -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);