Cast char *'s to proper type.
Merge pull request #24 from abellgithub/castfix

Cast char *'s to proper type.