Skip to content

Commit 0983dbf

Browse files
author
Daniel Kroening
committed
compile with Visual Studio 2017
1 parent 2d26cb7 commit 0983dbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/big-int/bigint-test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ run_floorPow2_tests ()
298298

299299
for (unsigned i = 0; i < 512; ++i) {
300300
unsigned x = 512 - i;
301-
N = pow(2,x);
301+
N = pow(BigInt(2),x);
302302
M.setPower2(x);
303303

304304
if (!(N == M)) {
@@ -327,7 +327,7 @@ run_floorPow2_tests ()
327327

328328
}
329329

330-
N = pow(2,0); // 1
330+
N = pow(BigInt(2),0); // 1
331331
M.setPower2(0);
332332

333333
if (!(N == M)) {

0 commit comments

Comments
 (0)