Compiler Error C2112

'-' : pointer subtraction requires integral or pointer operand

An attempt was made to subtract pointers that point to different types.