Resolve C4267 MS compiler warnings

warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data