Fixed a load of identical compiler warnings

The compliers were complainign about a conversion from size_t to int, so i changed it to top them complianing

Refs #3344