Portability fix: 'uint' is nonstandard.

Always use ```unsigned int``` instead.