change type of ascii2petscii and ptr to char - this will fix warning with signedness