Nope not a racist.

Racism: a belief that race is the primary determinant of human traits and capacities and that racial differences produce an inherent superiority of a particular race.

Now was he singling out your friend due to race..seems that way doesn't make him a racist.