diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-01-24 23:12:58 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-01-24 23:12:58 +0000 |
| commit | 5c670acb1fdd04dcb9c220fee7cbeeb6b0c440e5 (patch) | |
| tree | 4265962a5e3bb021bdc8cc7d511efce887cf50f9 /py/mpz.h | |
| parent | 4c1a7e0d6a561be5871bb0d36b724f529e55c21d (diff) | |
py: Be more machine-portable with size of bit fields.
Diffstat (limited to 'py/mpz.h')
| -rw-r--r-- | py/mpz.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ typedef int32_t mpz_dbl_dig_signed_t; 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; |
