pointer subtraction requires integral or pointer operand
An attempt was made to subtract pointers that did not point to the same type.