Fixed a windows warning. Refs #9976.