Fix build warning

Fix truncation from '__int64' to 'const unsigned int'