Cast char *'s to proper type.