Use int instead of CHAR/WCHAR in va_arg() (fixes gcc-current compile