1
0
forked from aniani/vim

patch 8.2.0106: printf formats are not exactly right

Problem:    Printf formats are not exactly right.
Solution:   Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
This commit is contained in:
Bram Moolenaar
2020-01-08 22:06:14 +01:00
parent c838626fea
commit b16ad96849
5 changed files with 21 additions and 19 deletions

View File

@@ -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) {

View File

@@ -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++]))