Hi,
About the error:Result of 'malloc' is converted to a pointer of type 'char', which isincompatible with sizeof operand type 'struct guts'
The patch attached tries to fix this.
regards,Ranier Vilela