c7toi: simplify wchar_t to int.