insert cast for C++ compatibility

This commit is contained in:
Fredrik Johansson 2014-07-31 18:52:39 +02:00
parent 33611b373e
commit d53f08390f

3
arf.h
View file

@ -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); \
} \