Skip to content

Commit 0e3ad3f

Browse files
committed
Temporarily( \!) switched of VS error 4389
1 parent d780c79 commit 0e3ad3f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

demo/test.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,6 +1573,10 @@ static int test_mp_is_small_prime(void)
15731573
}
15741574

15751575

1576+
#ifdef _MSC_VER
1577+
#pragma warning(push)
1578+
#pragma warning(disable: 4389) /* '!=': signed/unsigned mismatch */
1579+
#endif
15761580

15771581
static int test_mp_next_small_prime(void)
15781582
{
@@ -1647,6 +1651,10 @@ static int test_mp_next_small_prime(void)
16471651
return EXIT_FAILURE;
16481652
}
16491653

1654+
#ifdef _MSC_VER
1655+
#pragma warning(pop)
1656+
#endif
1657+
16501658
static int test_mp_prec_small_prime(void)
16511659
{
16521660
mp_sieve sieve;

0 commit comments

Comments
 (0)