fixed the windows build issue with uint