Replaced "uint" (platform specific) with "unsigned int" (universal)