Fix x64 size_t->uint conversion warnings.