Skip to content

Commit 392c52f

Browse files
committed
fix invalid size prefix
1 parent d54ad30 commit 392c52f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ static int test_mp_get_long(void)
555555
}
556556

557557
for (i = 0; i < ((int)(sizeof(unsigned long)*CHAR_BIT) - 1); ++i) {
558-
t = (1ULL << (i+1)) - 1;
558+
t = (1UL << (i+1)) - 1;
559559
if (!t)
560-
t = ~0ULL;
560+
t = ~0UL;
561561
printf(" t = 0x%lx i = %d\r", t, i);
562562
do {
563563
if (mp_set_long(&a, t) != MP_OKAY) {

0 commit comments

Comments
 (0)