refs #7957. Fix compiler warnings.