Re: [PATCH 2/4] cast format values where necessary

2015-02-22 Thread Nicholas Marriott
Thanks but: > } else > - xsnprintf(tmp, sizeof tmp, "\\%03o", line[i]); > + xsnprintf(tmp, sizeof tmp, "\\%03o", (unsigned > char)line[i]); %hho and (u_char)? > buf = cmd_capture_pane_append(buf,

[PATCH 2/4] cast format values where necessary

2015-02-22 Thread Ben Boeckel
The %x and %o specifers require unsigned arguments. Signed-off-by: Ben Boeckel --- cmd-capture-pane.c | 2 +- input-keys.c | 6 +++--- key-string.c | 2 +- layout.c | 2 +- tty-keys.c | 8 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd