summaryrefslogtreecommitdiffstats
path: root/window-tree.c
diff options
context:
space:
mode:
authornicm <nicm>2023-06-30 21:55:08 +0000
committernicm <nicm>2023-06-30 21:55:08 +0000
commita2a02fd7d75a9d866570261fd428fefa773a6bf8 (patch)
tree7f07014546696a14430b0f96013983ee6aa341d0 /window-tree.c
parent4e57894e8506f27844fc0e6353475a0b61fd7807 (diff)
Change a few types to fix warnings, from Thomas Klausner.
Diffstat (limited to 'window-tree.c')
-rw-r--r--window-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window-tree.c b/window-tree.c
index 00c7c0cc..8c956d00 100644
--- a/window-tree.c
+++ b/window-tree.c
@@ -671,9 +671,9 @@ window_tree_draw_window(struct window_tree_modedata *data, struct session *s,
struct window_pane *wp;
u_int cx = ctx->s->cx, cy = ctx->s->cy;
u_int loop, total, visible, each, width, offset;
- u_int current, start, end, remaining, i;
+ u_int current, start, end, remaining, i, pane_idx;
struct grid_cell gc;
- int colour, active_colour, left, right, pane_idx;
+ int colour, active_colour, left, right;
char *label;
total = window_count_panes(w);