refs #9906. Fix compiler warnings.