vtls.c: Fixed compilation warning

conversion from 'size_t' to 'unsigned int', possible loss of data