Skip to content

Commit

Permalink
Fixup ad5bb62
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
  • Loading branch information
sjaeckel committed Mar 14, 2024
1 parent c81b6b9 commit d4a322d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bn_deprecated.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ MP_GET_MAG(mp_get_mag_ull, unsigned long long)
MP_INIT_INT(mp_init_ll, mp_set_i64, long long)
#endif
#ifdef BN_MP_SET_LL_C
MP_SET_SIGNED(mp_set_ll, mp_set_i64, long long, unsigned long long)
MP_SET_SIGNED(mp_set_ll, mp_set_i64, long long, long long)
#endif
#ifdef BN_MP_INIT_ULL_C
MP_INIT_INT(mp_init_ull, mp_set_u64, unsigned long long)
Expand All @@ -226,7 +226,7 @@ mp_err mp_log_u32(const mp_int *a, uint32_t base, uint32_t *c)
return MP_VAL;
}
e = mp_log_n(a, (int)base, &c_);
*c = c_;
*c = (uint32_t)c_;
return e;
}
#endif
Expand Down

0 comments on commit d4a322d

Please sign in to comment.