summaryrefslogtreecommitdiff
path: root/src/libvterm
diff options
context:
space:
mode:
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++]))