- if (dest_class->byte_order == LITTLE_ENDIAN) {
- ctf_uint_write(destp, dest_class->mantissa, mantissa);
- ctf_int_write(destp, dest_class->exp, exp);
- ctf_uint_write(destp, dest_class->sign, sign);
+ 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);