Fixing a bug in team driver due to incorrect 'unsigned int' to 'int' conversion