Literal conversion from short or byte to char

TGPTIAlves:
That solution worked very well but there is something that I was strugling and I finally found out why.

Which is why you should show all your code, and not just snippets.