Skip to content

Commit 3a60462

Browse files
committed
Rollback of bugfix 2
1 parent 24eb914 commit 3a60462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bn_mp_get_i64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
int64_t mp_get_i64(const mp_int *a)
99
{
1010
uint64_t res = mp_get_mag64(a);
11-
return (a->sign == MP_NEG) ? -(int64_t)res : (int64_t)res;
11+
return (a->sign == MP_NEG) ? (int64_t)-res : (int64_t)res;
1212
}
1313

1414

0 commit comments

Comments
 (0)