Since the gene is incompletely recessive, carriers have a few sickle red blood cells at all times, not enough to cause symptoms, but enough to give resistance to malaria.
Heterozygotes have a higher fitness than either of the homozygotes.