added casts

added casts in line 277 and line 296. Second arg in strspn needed to be (char*).