Use `uint32_t` instead of `size_t`.
Use
uint32_tinstead ofsize_t.