- if (dest_type->byte_order == LITTLE_ENDIAN) {
- ctf_uint_write(destp, dest_type->mantissa, mantissa);
- ctf_int_write(destp, dest_type->exp, exp);
- ctf_uint_write(destp, dest_type->sign, sign);
+ if (dest_declaration->byte_order == LITTLE_ENDIAN) {
+ ctf_uint_write(destp, dest_declaration->mantissa, mantissa);
+ ctf_int_write(destp, dest_declaration->exp, exp);
+ ctf_uint_write(destp, dest_declaration->sign, sign);