Rename diff asChar argument to as_char

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>