fix types for const pointers

- const char * -> const(char)*
Merge pull request #3 from MartinNowak/master

fix types for const pointers