Fixed incompatible pointer type