Remove useless operator.

Dereferencing operator is useless in *ptr++ if result is unused,
hence remove confusing operator and type conversion.