fixed compiler warnings

- warning: deprecated conversion from string constant to ‘char*’
- warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument has type ...::size_type
Merge pull request #35 from lslezak/fix_warnings

fixed compiler warnings