Fix 'assignment from incompatible pointer type' warning.