Use size_t instead of uint and unsigned