Use urbit types instead of size_t

This commit is contained in:
Alex Higgins 2015-08-27 06:12:21 -05:00
parent 34d8463bec
commit b09cbbdb38

View File

@ -13,9 +13,9 @@
if ( __(u3a_is_dog(a)) ) {
u3r_mp(a_mp, a);
size_t log = mpz_sizeinbase(a_mp, 2);
c3_d x = mpz_sizeinbase(a_mp, 2);
mpz_t b_mp;
mpz_init_set_ui(b_mp, log);
mpz_init_set_ui(b_mp, x);
return u3i_mp(b_mp);
}
else {