summaryrefslogtreecommitdiffstats
path: root/grid.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 /grid.c
parent4e57894e8506f27844fc0e6353475a0b61fd7807 (diff)
Change a few types to fix warnings, from Thomas Klausner.
Diffstat (limited to 'grid.c')
-rw-r--r--grid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/grid.c b/grid.c
index 3afbfb6a..014e8b8f 100644
--- a/grid.c
+++ b/grid.c
@@ -1044,7 +1044,8 @@ grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx,
const char *data;
char *buf, code[8192];
size_t len, off, size, codelen;
- u_int xx, has_link = 0, end;
+ u_int xx, end;
+ int has_link = 0;
const struct grid_line *gl;
if (lastgc != NULL && *lastgc == NULL) {