summaryrefslogtreecommitdiffstats
path: root/format.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-18 14:21:39 +0000
committernicm <nicm>2020-04-18 14:21:39 +0000
commit4a93294152efb921bb5bada71164c47a57518e31 (patch)
tree167e9b511ccabc47f51fba89a5e28a6883296268 /format.c
parentc87595326c69b3a82175268136f901199ff3cead (diff)
Use size_t not u_int for the bytes counters and fix a const missing.
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index 53ef1604..df610a50 100644
--- a/format.c
+++ b/format.c
@@ -954,7 +954,7 @@ format_cb_cursor_character(struct format_tree *ft, struct format_entry *fe)
char *
format_grid_word(struct grid *gd, u_int x, u_int y)
{
- struct grid_line *gl;
+ const struct grid_line *gl;
struct grid_cell gc;
const char *ws;
struct utf8_data *ud = NULL;