Replacing uint with unsigned for gcc-4.8