Fixed incompatible pointer type build error