Fix a "pointer type missmatch" warning.