Explicitly cast a pointer