mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
lines variable can be -1 (to be ignored), so should be signed. Found by lint.
This commit is contained in:
parent
40c242a6d5
commit
be17ac1eb2
@ -141,7 +141,8 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
struct window_pane *wp;
|
||||
const char **env;
|
||||
char *cmd, *cwd, *cause;
|
||||
u_int hlimit, lines;
|
||||
u_int hlimit;
|
||||
int lines;
|
||||
|
||||
if ((wl = cmd_find_window(ctx, data->target, &s)) == NULL)
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user