Change a few types to fix warnings, from Thomas Klausner.

This commit is contained in:
nicm
2023-06-30 21:55:08 +00:00
parent 4e57894e85
commit a2a02fd7d7
5 changed files with 8 additions and 7 deletions

3
grid.c
View File

@ -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) {