My cat had that,took him to the vet, vet said don't worry it will go away and it did.
It is usually just a passing thing in cats, like a croaky voice in a human. It should be okay, but take your cat to the vet to get it checked up to be sure.