endoparasite especially helminths are one of the reason of prolonged diarrhea.the same case was encountered in my cat.even in kitten ,they get the endoparasites from mother which is also one of the reason of diarrhea.deworming the cat is also advisable in such case.