Fixing them thar warnins.

Refs #1777.
Merge pull request #2915 from jwpeterson/fixing_warnings

Fixing them thar warnins.