Skip to content

Commit 4896f32

Browse files
committed
Fixed fix
1 parent ecf0160 commit 4896f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static int test_mp_invmod(void)
621621
if (e != MP_OKAY) {
622622
if (results[i+10][j+10] != -1) {
623623
printf("error = %s from ", mp_error_to_string(e));
624-
printf("error at i = %d, j =%d should be an error but gave %d\n",i,j, c);
624+
printf("error at i = %d, j =%d should be an error but gave %d\n",i,j, ((int)c.dp[0]) * (c.sign * -1));
625625
goto LBL_ERR;
626626
}
627627
} else {

0 commit comments

Comments
 (0)