fix pointer type mismatch and misplacement of const
1 file changed