36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From c6f38045398f12151d37f41b86cac89322d1a5b0 Mon Sep 17 00:00:00 2001
|
|
From: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
Date: Fri, 10 Jun 2022 16:39:32 +0800
|
|
Subject: [PATCH 02/11] Fix compile warnings with libtsm 4.x
|
|
|
|
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
|
|
---
|
|
term.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/term.c b/term.c
|
|
index c66f088..d843dd1 100644
|
|
--- a/term.c
|
|
+++ b/term.c
|
|
@@ -76,7 +76,7 @@ static void __attribute__ ((noreturn)) term_run_child(terminal_t* terminal)
|
|
}
|
|
}
|
|
|
|
-static int term_draw_cell(struct tsm_screen* screen, uint32_t id,
|
|
+static int term_draw_cell(struct tsm_screen* screen, uint64_t id,
|
|
const uint32_t* ch, size_t len,
|
|
unsigned int cwidth, unsigned int posx,
|
|
unsigned int posy,
|
|
@@ -344,7 +344,7 @@ static bool is_xterm_osc(char *osc)
|
|
return false;
|
|
}
|
|
|
|
-static void term_osc_cb(struct tsm_vte *vte, const uint32_t *osc_string,
|
|
+static void term_osc_cb(struct tsm_vte *vte, const char *osc_string,
|
|
size_t osc_len, void *data)
|
|
{
|
|
terminal_t* terminal = (terminal_t*)data;
|
|
--
|
|
2.20.1
|
|
|