Replaced uint with unsigned

... as it otherwise does not build on all compilers.