refs #8644. Fix compiler warnings.