Non-static/static: error fix for character conversion