Skip to content

Commit

Permalink
fix type for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jun 12, 2024
1 parent 9589682 commit 0f69ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mcl/gmp_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void getArray(bool *pb, T *buf, size_t maxSize, const mpz_class& x)
*pb = false;
return;
}
const Unit *src = x.get_mpz_t()->_mp_d;
const Unit *src = (const Unit*)x.get_mpz_t()->_mp_d;
#endif
*pb = fp::convertArrayAsLE(buf, maxSize, src, n);
}
Expand Down

0 comments on commit 0f69ad2

Please sign in to comment.