Re: [PATCHv2 1/4] make PROTOCOL_VERSION unsigned

2015-03-31 Thread Nicholas Marriott
Hi After some thought I decided to leave PROTOCOL_VERSION as it is. I've applied most of your second diff (the format specifiers) except I have left enums as %d (their type is dependent on the compiler and I think GCC is wrong to warn as if they are unsigned). I've applied the capture-pane part (

Re: [PATCHv2 1/4] make PROTOCOL_VERSION unsigned

2015-03-02 Thread Nicholas Marriott
Ok these look good I will apply them when OpenBSD unlocks. On Sun, Feb 22, 2015 at 04:21:01PM -0500, Ben Boeckel wrote: > Signed-off-by: Ben Boeckel > --- > tmux.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tmux.h b/tmux.h > index e296ac7..87ed093 100644 > --- a/t

[PATCHv2 1/4] make PROTOCOL_VERSION unsigned

2015-02-22 Thread Ben Boeckel
Signed-off-by: Ben Boeckel --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux.h b/tmux.h index e296ac7..87ed093 100644 --- a/tmux.h +++ b/tmux.h @@ -19,7 +19,7 @@ #ifndef TMUX_H #define TMUX_H -#define PROTOCOL_VERSION 8 +#define PROTOCOL_VERSION 8u #includ