`char' is promoted to `int' when passed through `...' (so you should pass `int' not `char' to `va_arg')