mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Use size_t not u_int for the bytes counters and fix a const missing.
This commit is contained in:
parent
c87595326c
commit
4a93294152
2
format.c
2
format.c
@ -954,7 +954,7 @@ format_cb_cursor_character(struct format_tree *ft, struct format_entry *fe)
|
|||||||
char *
|
char *
|
||||||
format_grid_word(struct grid *gd, u_int x, u_int y)
|
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;
|
struct grid_cell gc;
|
||||||
const char *ws;
|
const char *ws;
|
||||||
struct utf8_data *ud = NULL;
|
struct utf8_data *ud = NULL;
|
||||||
|
4
tmux.h
4
tmux.h
@ -934,8 +934,8 @@ struct window_pane {
|
|||||||
char *searchstr;
|
char *searchstr;
|
||||||
int searchregex;
|
int searchregex;
|
||||||
|
|
||||||
u_int written;
|
size_t written;
|
||||||
u_int skipped;
|
size_t skipped;
|
||||||
|
|
||||||
TAILQ_ENTRY(window_pane) entry;
|
TAILQ_ENTRY(window_pane) entry;
|
||||||
RB_ENTRY(window_pane) tree_entry;
|
RB_ENTRY(window_pane) tree_entry;
|
||||||
|
Loading…
Reference in New Issue
Block a user