Auto upcast of pointer parameters to C++ routines.
Fix a lint error.