summaryrefslogtreecommitdiff
path: root/src/libvterm
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-08 22:06:14 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-08 22:06:14 +0100
commitb16ad968499aeb29b6ff9be6cc64fb41522a4a5e (patch)
treee39115834188725e59d28fa612e84016f0882bcd /src/libvterm
parentc838626fea42ed5924ee6084d87d1b37b2d7b0ff (diff)
downloadvim-git-b16ad968499aeb29b6ff9be6cc64fb41522a4a5e.tar.gz
patch 8.2.0106: printf formats are not exactly rightv8.2.0106
Problem: Printf formats are not exactly right. Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
Diffstat (limited to 'src/libvterm')
-rw-r--r--src/libvterm/src/parser.c2
-rw-r--r--src/libvterm/src/pen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libvterm/src/parser.c b/src/libvterm/src/parser.c
index 7d6d2175d..8a06c427b 100644
--- a/src/libvterm/src/parser.c
+++ b/src/libvterm/src/parser.c
@@ -65,7 +65,7 @@ static void append_strbuffer(VTerm *vt, const char *str, size_t len)
{
if(len > vt->parser.strbuffer_len - vt->parser.strbuffer_cur) {
len = vt->parser.strbuffer_len - vt->parser.strbuffer_cur;
- DEBUG_LOG1("Truncating strbuffer preserve to %zd bytes\n", len);
+ DEBUG_LOG1("Truncating strbuffer preserve to %zu bytes\n", len);
}
if(len > 0) {
diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c
index c55f6931f..d34599da1 100644
--- a/src/libvterm/src/pen.c
+++ b/src/libvterm/src/pen.c
@@ -387,7 +387,7 @@ INTERNAL void vterm_state_setpen(VTermState *state, const long args[], int argco
if (!done)
{
- DEBUG_LOG1("libvterm: Unhandled CSI SGR %lu\n", arg);
+ DEBUG_LOG1("libvterm: Unhandled CSI SGR %ld\n", arg);
}
while (CSI_ARG_HAS_MORE(args[argi++]))