Fix strict warnings for cat walker class, closes #4319

Fix cat walker strict warnings as per #4319