Resolve incompatible pointer warning.