commit | 5c670acb1fdd04dcb9c220fee7cbeeb6b0c440e5 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Sat Jan 24 23:12:58 2015 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Sat Jan 24 23:12:58 2015 +0000 |
tree | 4265962a5e3bb021bdc8cc7d511efce887cf50f9 | |
parent | 4c1a7e0d6a561be5871bb0d36b724f529e55c21d [diff] [blame] |
py: Be more machine-portable with size of bit fields.
diff --git a/py/mpz.h b/py/mpz.h index d2b6fad..d52e58b 100644 --- a/py/mpz.h +++ b/py/mpz.h
@@ -69,7 +69,7 @@ typedef struct _mpz_t { mp_uint_t neg : 1; mp_uint_t fixed_dig : 1; - mp_uint_t alloc : 30; + mp_uint_t alloc : BITS_PER_WORD - 2; mp_uint_t len; mpz_dig_t *dig; } mpz_t;