Use unsigned int instead of uint because uint is already in use on OS X.