mirror of
https://github.com/vale981/arb
synced 2025-03-05 09:21:38 -05:00
insert cast for C++ compatibility
This commit is contained in:
parent
33611b373e
commit
d53f08390f
1 changed files with 2 additions and 1 deletions
3
arf.h
3
arf.h
|
@ -218,7 +218,8 @@ void _arf_demote(arf_t x);
|
|||
} \
|
||||
else if (ARF_PTR_ALLOC(x) < (__xn)) \
|
||||
{ \
|
||||
ARF_PTR_D(x) = flint_realloc(ARF_PTR_D(x), \
|
||||
ARF_PTR_D(x) = (mp_ptr) \
|
||||
flint_realloc(ARF_PTR_D(x), \
|
||||
(xn) * sizeof(mp_limb_t)); \
|
||||
ARF_PTR_ALLOC(x) = (__xn); \
|
||||
} \
|
||||
|
|
Loading…
Add table
Reference in a new issue