Remove references to signed/unsigned wchar_t by casting to int.
This was done to work around a bug in gcc-9.2.1. While the bug has been fixed upstream, it has not yet come to Fedora 30.
This is not the way I wanted the code, but it's better than not being able to compile at all.
Authored by: david_costanzo 2019-11-12
Parent: [r5044]
Child: [r5046]