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:
@@ -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) {
|
||||
|
||||
@@ -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++]))
|
||||
|
||||
Reference in New Issue
Block a user