warning C4267: '=' : conversion from 'size_t' to 'uint32_t', possible loss of data