uint to size_t for portability.

Signed-off-by: Khral Steelforge <garuda2550@gmail.com>