Fix conversion to char *.
Merge pull request #172 from mvala/master

Fix conversion to char *.