Fix warning on Win32.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 29 Sep 2003 17:17:54 +0000 (17:17 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 29 Sep 2003 17:17:54 +0000 (17:17 +0000)
crypto/bn/bn_mul.c

index f8a5ba7c75b489ed1673893323735d8f16e34e4d..78f98b1b02fd4fcc307b41d1778ca25a37542a5f 100644 (file)
@@ -376,7 +376,7 @@ void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int tn,
 
                /* The overflow will stop before we over write
                 * words we should not overwrite */
-               if (ln < c1)
+               if (ln < (BN_ULONG)c1)
                        {
                        do      {
                                p++;