Fixing errors given by splint in kstring